HIP:PMP:PMPBackup

From Earlham Cluster Department

Revision as of 14:12, 10 July 2006 by Madunnh (Talk | contribs)
Jump to: navigation, search

Contents

making backup directories

cd /p0/
sudo mkdir hip
cd /p0/hip
sudo mkdir pmp_backup
cd /p0/hip/pmp_backup
sudo mkdir sda1     (to hold backup of dos partition)
sudo cd mkdir sda2  (to hold backup of linux partition)

making mounting directories

cd /p0/
sudo mkdir hip
cd /p0/hip
sudo mkdir mnt
cd /p0/hip/mnt
sudo mkdir sda1     (to hold dos partition)
sudo cd mkdir sda2  (to hold linux partition)

list modules with lsmod

~$ lsmod
Module                  Size  Used by    Tainted: P  
i810_audio             30908   0 (autoclean)
ac97_codec             17140   0 (autoclean) [i810_audio]
soundcore               6468   2 (autoclean) [i810_audio]
agpgart                24496   4 (autoclean)
...

loading usb modules

~$ sudo /sbin/modprobe usb-storage
~$ sudo /sbin/modprove sd_mod

mount usb drive

~$ sudo mount /dev/sda1 pmp/sda1
~$ sudo mount /dev/sda2 pmp/sda2

copy files for backup

~$ cp -r pmp/ backup/

unmount drives

~$ umount /dev/sda1
~$ umount /dev/sda2

unload modules

~$ /sbin/rmmod sd_mod
~$ /sbin/rmmod usb-storage
Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox