Re: Q: RAID-1 w/2x160GB, ReiserFS, Debian 'woody', homebrew 2.4.25 kernel

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

 




On Wed, 4 Aug 2004, Mark Watts wrote:

> Talking of partitioning several disks the same, is there an easy way to 
> automate this?

# imagine the sequence of the characters you type to fdisk
echo n
echo p
echo 1
echo 1
echo +256M
.....

and run that script for each new unpartitioned/virgin /dev/hda disk ..

	fdisk.automated.sh | fdisk /dev/hda

sample partition script:
	http://linux-consulting.com/Boot/Linux-1U/clone.suse-8.2.fdisk.sh1

sample cloning script:
	... tar ... onto target disk

	http://linux-consulting.com/Boot/Linux-1U/clone.suse-8.2.sh

works good when you're doing 10's, 100's of identical disks ... or 
same partition scheme ...

c ya
alvin


-
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