Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/vlbi/dokuwiki/doku.php/correlator/createnew
Дата изменения: Unknown Дата индексирования: Sun Apr 10 23:19:55 2016 Кодировка: IBM-866 Поисковые слова: reflection nebula |
If you ever need to create a RAID from scratch, either because too many disks have failed in an old set, or because you have a nice shiny new set of disks, budget a bit of time for it!
vncserver -geometry 1024×768
or just vncserver
if the command has been run before but the node has since been restarted.cuppa02
,> java -jar RAID_Admin.jar
(run from /nfs/apps/vlbi/RAID_Admin_151
) check that all disks are available (click on each disk, and Make Available using Disk Utilities if necessary).
You'll need a password at some point. Ask Aidan or Claire if you don't know it.
Also, these images are huge. If anyone knows how to rescale images, please do!! :)
While building, you can Slice the disks. A тАЬsliceтАЭ is like a hardware partition. In VLBI we used to use 2 slices on 500GB disk sets, 3 slices on
750GB disk sets, creating slices of approximately 1.4TB (the XRAID admin tools will give you a size estimate of the whole array, I assume you can divide by
2 or 3!). However with newer kernels we're now able to work with devices larger than 2TB, so we no longer slice our disks (giving us 3TB for 500GB sets, and
4.5TB for 750GB sets).
Once the RAID is built, you still need to partition and format the slices before they can be used. Each slice is seen on the computer as a separate device (ie 1.5TB hard disk, effectively). If you are unslicing a previously used VLBI disk, this still needs to be done as the computer will otherwise only see 1 1.5TB partition, and it won't have a valid partition table.
ssh
to the computer to which the XRAID is attached.sudo /nfs/apps/vlbi/refresh_xraid
kill -9
on the process ID (find it using pgrep refresh_xraid
).sudo /nfs/apps/vlbi/udevrules.pl
sudo fdisk -l
This will give you a list of available devices. XRAID devices will likely
show up as sdc, sdd, through sdh. You can tell which is which by looking at the links in /dev/disk/by-label.
Failing all else, do
sudo shutdown -r now
(or -r 1m etc). This solves most problems except where someone else is using the computer at the time! Always check first!
sudo /nfs/apps/vlbi/partitiondisk.pl /dev/sdX
and check that it did what you wanted with
sudo parted /dev/sdX
and print
or sudo parted
and print all
.
sudo fdisk -l
again to make sure you now have devices sdc1, sdd1 etc which are the appropriate sizes (will give silly numbers if >2TB).mkfs.xfs -f -l size=64m -L "ATNF V006B" /dev/sdc1
as appropriate, and for optimised performance, mount using
mount -o noatime,nodiratime,logbufs=8 /dev/sdc1 /exports/xraid01/l_1
Can modify fstab
to remember these options if required.