New issues with setup storage - disc too small

Michael Tautschnig mt at debian.org
Thu Mar 17 07:23:35 CET 2011


> > Same answer, unfortunately.
> > 
> > root at fw1dv:~# parted -s /dev/sdb mklabel msdos; sleep 10;parted -s /dev/sdb mkpart primary "" 32256B 134249471B; sleep 10;parted -s /dev/sdb mkpart extended "" 134249472B 60022480895B; sleep 10; parted -s /dev/sdb mkpart logical "" 134249984B 2281724927B
> > Warning: The resulting partition is not properly aligned for best performance.
> > Warning: The resulting partition is not properly aligned for best performance.
> > Warning: The resulting partition is not properly aligned for best performance.
> > Error: Error informing the kernel about modifications to partition /dev/sdb5 -- Device or resource busy.  This means Linux won't know about any changes you made to /dev/sdb5 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
> > Error: Failed to add partition 5 (Device or resource busy)
> > 
> [...]
> 
> Ok, let's go for something weird:
> 
> Try 
> 
> parted -s /dev/sdb mkpart logical "" 144249984B 2281724927B
> 
> instead of the last parted command (that's just a higher start byte). Would that
> work? If it does, could you find out which bytes work and which don't (you'll
> have to remove the partition again or just redo the same sequence of commands
> several times, the sleep can probably be dropped).
> 

I'd guess that

parted -s /dev/sdb mkpart logical "" 134250496B 2281724927B

will work. It's getting late so I might say really stupid things, but I'd
grateful if you could at least give those a try.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110317/3ff70f78/attachment.bin>


More information about the linux-fai mailing list