Re: How do I tell if my partition is aligned for a 64k/RAID-6?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 27, 2008 at 08:53:21AM -0500, Justin Piszcz wrote:
> Why bother partitioning?  I also run a Linux SW RAID1 on the host, as you 
> know the drive letters can change when working on a server.
>
> Example: Before I created the array (RAID-6), my disks were /dev/sda,  
> /dev/sdb and /dev/sdc (spare), the RAID-6 was /dev/sdd.  After reboot,  
> /dev/sdd became /dev/sda and /dev/sd[a-c] became /dev/sd[b-d].
>
> In lilo.conf I had:
> raid-extra-boot="/dev/sda,/dev/sdb"
>
> If I ran LILO and forgot to fix the lilo.conf to reflect the new drive  
> mappings:
> raid-extra-boot="/dev/sdb,/dev/sdc"
>
> I could be at risk of ruining the partition?

Hrm...interesting point. LILO could mess up the superblock in sector 0.

> I try to avoid such situations when possible, to be safe.

:)

I don't know how LILO would handle it, but I would try to use
/dev/disk/by-*/* instead of the rather unstable /dev/sd* names.

Just my 0.02 cents.

Jeff.

-- 
Keyboard not found!
Press F1 to enter Setup
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux