NEC Express5800/320Fc Manual Page 71

  • Download
  • Add to my manuals
  • Print
  • Page
    / 156
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 70
Administering RAID Arrays
Setting Up the ftServer System 5-23
2. Add each partition on the spare disk to the RAID-1 array containing the
corresponding partition on the running disk with commands like the following:
# mdadm -a /dev/md0 /dev/sdd1
mdadm: hot added /dev/sdd1
# mdadm -a /dev/md1 /dev/sdd3
mdadm: hot added /dev/sdd3
# mdadm -a /dev/md2 /dev/sdd2
mdadm: hot added /dev/sdd2
Perform the following procedure only if the running disk is the system disk.
To run GRUB
If the running disk is the system disk, run the GRUB boot loader on the boot partition
of the spare disk, after resynchronization is complete on that partition.
Example 5-4
shows a typical use of GRUB:
Example 5-4. Running GRUB
# /sbin/grub
GNU GRUB version 0.95 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub> device (hd0) /dev/sdd
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
/grub/grub.conf"..
. succeeded
Done.
grub> quit
On your own system, replace the /dev/sdd shown in Example 5-4 with the device
node for your spare disk. In the root (hd0,0) command, the second zero is
thenumber of the partition to GRUB. GRUB partitions are zero-based rather than
one-based, so these commands actually indicate that partition 1 on /dev/sdd has
been GRUBbed.
Page view 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 155 156

Comments to this Manuals

No comments