Re: Automatic drive partitioning

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

 



Carlos,

On Saturday 08 October 2005 22:32, you wrote:
> Agreed. I've been using sfdisk without problems with various drives. I even
> usually start the first partition on sector 1... When I want to copy
> the partition table of one disk to the other I do
> sfdisk -d partitioned-disk | sfdisk --force new-disk.
>
> It works for drives of different sizes as well. Yesterday I tried
> this pipe with logical partitions and even with force it refused,
> complaining that an extended partition didn't start at a cylinder
> boundary. That's non-sense so I just did a
>
> # for i in each-of-the-disks; do
> sfdisk -uS /dev/sd$i << EOF
> partition info
> EOF
> done
>
> and all was well.
>
> The concept of cylinder et. al is history now. Only the manufacturer
> knows how the info is organized on the disk surface.

Thanks a lot! Just tried again and this time it worked.
Dunno why the system oopsed the first time.

Thomas
-
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