User Tools

Site Tools


lbaops:lbaobservingnotes:parkesclean

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lbaops:lbaobservingnotes:parkesclean [2009/07/03 14:52]
cehotan
lbaops:lbaobservingnotes:parkesclean [2009/07/03 15:06]
cehotan
Line 64: Line 64:
 We now have a freshly partitioned disk. Can check that did what you want by running ''parted'' and simply type the command ''print all'' - this shows all disks attached to the host. If that didn't work for some reason, try formatting manually using Parted. We now have a freshly partitioned disk. Can check that did what you want by running ''parted'' and simply type the command ''print all'' - this shows all disks attached to the host. If that didn't work for some reason, try formatting manually using Parted.
  
-''> parted /dev/sdc\\ +<code>> parted /dev/sdc 
-(parted) help'' [View the available commands]\\ +(parted) help</code> 
-''(parted) mklabel gpt ''[We'll make a GPT partition]\\ +%color=#006600%View the available commands.\\ 
-''(parted) mkpart primary 0 -0 '' [Make a primary partition that fills the whole disk]\\ +We'll make a GPT disk, with a primary partition that fills the whole disk.**\\ 
-''(parted) quit''\\+<code>(parted) mklabel gpt 
 +(parted) mkpart primary 0 -0 
 +(parted) quit</code>
 \\ \\
 As with any other hard disk, after partitioning the disk needs to be formatted.\\ As with any other hard disk, after partitioning the disk needs to be formatted.\\
Line 77: Line 79:
 Substitute appropriate machine numbers and device names below - check with Chris if you don't have the vlbi or root passwords.\\ Substitute appropriate machine numbers and device names below - check with Chris if you don't have the vlbi or root passwords.\\
 \\ \\
-''hostname> ssh vlbi@pkvsi1\\ +<code>hostname> ssh vlbi@pkvsi1 
-pkvsi1:~> su -\\ +pkvsi1:~> su - 
-Password:   ''                 [Root password for vsi machines]\\ +Password:   </code> 
-''pkvsi1:~# df -h    ''          [Check if the disks are currently mounted - must unmount to format]\\ +%color=#006600%Root password for vsi machines.\\ 
-''Filesystem            Size  Used Avail Use% Mounted on\\ +Check if the disks are currently mounted - must unmount to format.**\\ 
-/dev/sda1             9.2G  7.8G 1007M  89% /\\ +<code>pkvsi1:~# df -h 
-tmpfs                 764M      764M   0% /lib/init/rw\\ +Filesystem            Size  Used Avail Use% Mounted on 
-udev                   10M  112K  9.9M   2% /dev\\ +/dev/sda1             9.2G  7.8G 1007M  89% / 
-tmpfs                 764M      764M   0% /dev/shm\\ +tmpfs                 764M      764M   0% /lib/init/rw 
-/dev/md1              723G  112G  612G  16% /data/internal\\ +udev                   10M  112K  9.9M   2% /dev 
-/dev/md0              1.6T  1.2T  437G  73% /data/removable\\ +tmpfs                 764M      764M   0% /dev/shm 
-/dev/sdc1             2.7T  202M  2.7T   1% /data/xraid0       ''    [Make note of device names - /dev/sdc1 is /data/xraid0]\\ +/dev/md1              723G  112G  612G  16% /data/internal 
-''/dev/sdd1             2.7T  202M  2.7T   1% /data/xraid1\\ +/dev/md0              1.6T  1.2T  437G  73% /data/removable 
-pkvsi1:~umount /data/xraid0\\ +/dev/sdc1             2.7T  202M  2.7T   1% /data/xraid0 
-pkvsi1:~# e2label /dev/sdc1  ''   [Check that the disk sets already contain labels (which ideally should be correct, you can check that they are during formatting and change afterward with ''e2label'' if necessary]\\ +/dev/sdd1             2.7T  202M  2.7T   1% /data/xraid1</code> 
-''ATNF V017A\\ +%color=#006600%Make note of device names - /dev/sdc1 is /data/xraid0.**\\ 
-pkvsi1:~# formatdisk.pl /dev/sdc1''  [Run the formatting script for VLBI disks]\\ +<code>pkvsi1:~# umount /data/xraid0</code> 
-''pkvsi1:/~# mount /dev/sdc1 /data/xraid0 ''        [Mount the disk so that you can access it again]\\+%color=#006600%Check that the disk sets already contain labels (which ideally should be correct, you can check that they are during formatting and change afterward with ''e2label'' if necessary.**\\ 
 +<code>pkvsi1:~# e2label /dev/sdc1 
 +ATNF V017A </code> 
 +%color=#006600%Run the formatting script for VLBI disks**\\ 
 +<code>pkvsi1:~# formatdisk.pl /dev/sdc1 
 +pkvsi1:/~# mount /dev/sdc1 /data/xraid0 </code> 
 +%color=#006600%Mount the disk so that you can access it again**\\
 \\ \\
 If the script doesn't work for some reason, the manual command is this:\\ If the script doesn't work for some reason, the manual command is this:\\
lbaops/lbaobservingnotes/parkesclean.txt · Last modified: 2015/12/18 16:38 (external edit)