Changes

From SME Server
Jump to navigationJump to search
m
no edit summary
Line 38: Line 38:  
  md: raid1 personality registered as nr 3
 
  md: raid1 personality registered as nr 3
 
  md: md1 stopped.
 
  md: md1 stopped.
  md: bind<cciss/c1d0p1>
+
  md: bind<cciss/c0d0p1>
 
  raid1: raid set md1 active with 1 out of 2 mirrors
 
  raid1: raid set md1 active with 1 out of 2 mirrors
 
  md: md2 stopped.
 
  md: md2 stopped.
  md: bind<cciss/c1d0p2>
+
  md: bind<cciss/c0d0p2>
 
  raid1: raid set md2 active with 1 out of 2 mirrors
 
  raid1: raid set md2 active with 1 out of 2 mirrors
 
  md: Autodetecting RAID arrays.
 
  md: Autodetecting RAID arrays.
  md: could not bd_claim cciss/c1d0p1.
+
  md: could not bd_claim cciss/c0d0p1.
  md: could not bd_claim cciss/c1d0p2.
+
  md: could not bd_claim cciss/c0d0p2.
 
  md: autorun ...
 
  md: autorun ...
 
  md: ... autorun DONE.
 
  md: ... autorun DONE.
Line 52: Line 52:  
Info I needed was:
 
Info I needed was:
   −
  md: bind<cciss/c1d0p1>
+
  md: bind<cciss/c0d0p1>
  md: bind<cciss/c1d0p2>
+
  md: bind<cciss/c0d0p2>
   −
This tells me that I currently have 2 active partitions, p1 & p2, on drive c1d0
+
This tells me that I currently have 2 active partitions, p1 & p2, on drive c0d0 (controller 0, disk 0); if a secondary controller was added or used it would therefore be c1d0 (controller 1, disk 0).
   −
Logically my new drive should be on c1d1, & the linux device file to match should be in /dev/cciss, so:
+
Logically my new drive should be on c0d1, & the linux device file to match should be in /dev/cciss, so:
   −
  fdisk /dev/cciss/c1d1 (use ? or m to get help)
+
  fdisk /dev/cciss/c0d1 (use ? or m to get help)
    
Follow the prompts to add a Linux partition
 
Follow the prompts to add a Linux partition
Line 67: Line 67:  
Lets see if we have a partition to work with:
 
Lets see if we have a partition to work with:
   −
  fdisk -l /dev/cciss/c1d1
+
  fdisk -l /dev/cciss/c0d1
   −
  Disk /dev/cciss/c1d1: 299.9 GB, 299992412160 bytes
+
  Disk /dev/cciss/c0d1: 299.9 GB, 299992412160 bytes
 
  255 heads, 63 sectors/track, 36472 cylinders
 
  255 heads, 63 sectors/track, 36472 cylinders
 
  Units = cylinders of 16065 * 512 = 8225280 bytes
 
  Units = cylinders of 16065 * 512 = 8225280 bytes
    
             Device Boot      Start        End      Blocks  Id  System
 
             Device Boot      Start        End      Blocks  Id  System
  /dev/cciss/c1d1p1               1      36472  292961308+  83  Linux
+
  /dev/cciss/c0d1p1               1      36472  292961308+  83  Linux
   −
Yup, cool, p1 is partition 1 on device c1d1
+
Yup, cool, p1 is partition 1 on device c0d1
    
I don't want to add it to lvm to as it helps to make it more portable for me so this is all I need, your requirements may differ.
 
I don't want to add it to lvm to as it helps to make it more portable for me so this is all I need, your requirements may differ.
Line 87: Line 87:  
Create filesystem & journal on device
 
Create filesystem & journal on device
   −
  mkfs.ext3 -j /dev/cciss/c1d1p1
+
  mkfs.ext3 -j /dev/cciss/c0d1p1
    
=== 3 Mount ===
 
=== 3 Mount ===
Line 117: Line 117:  
  /dev/md1                101018    27580    68222  29% /boot
 
  /dev/md1                101018    27580    68222  29% /boot
 
  none                  1980264        0  1980264  0% /dev/shm
 
  none                  1980264        0  1980264  0% /dev/shm
  /dev/cciss/c1d1p1   288362876    98368 273616444  1% /mnt/backupdrive
+
  /dev/cciss/c0d1p1   288362876    98368 273616444  1% /mnt/backupdrive
   −
If you don't see a line for /dev/cciss/c1d1p1, something went wrong.
+
If you don't see a line for /dev/cciss/c0d1p1, something went wrong.
 
<br>Go back to step 2 and check if you followed all instructions correctly.
 
<br>Go back to step 2 and check if you followed all instructions correctly.
  
19

edits

Navigation menu