New issues with setup storage - disc too small
Michael Tautschnig
mt at debian.org
Thu Mar 17 06:10:54 CET 2011
Hi David,
>
> We have a winner, and the winner is parted :)
>
Hmm, is there anything wrong with parted as shown below!?
> On Mar 16, 2011, at 7:51 PM, Michael Tautschnig wrote:
>
> >
> >
> > - add some exit 1; to usr/sbin/setup-storage in the first lines to make it abort
> > right away to get setup-storage out of the game.
> > - manually execute the following commands in the shell:
> >
> > parted -s /dev/sdb mklabel msdos
> > parted -s /dev/sdb mkpart primary "" 32256B 134249471B
> > parted -s /dev/sdb mkpart extended "" 134249472B 60022480895B
> > parted -s /dev/sdb mkpart logical "" 134249984B 2281724927B
> >
>
>
> root at fw1dv:~# parted -s /dev/sdb mklabel msdos
> root at fw1dv:~# parted -s /dev/sdb mkpart primary "" 32256B 13424947
> Error: The location 13424947 is outside of the device /dev/sdb.
> root at fw1dv:~# parted -s /dev/sdb mkpart primary "" 32256B 134249471B
> Warning: The resulting partition is not properly aligned for best performance.
> root at fw1dv:~# parted -s /dev/sdb mkpart extended "" 134249472B 60022480895B
> Warning: The resulting partition is not properly aligned for best performance.
> root at fw1dv:~# parted -s /dev/sdb mkpart logical "" 134249984B 2281724927B
> 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)
> root at fw1dv:~# parted -v
> parted (GNU parted) 2.3
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.
>
> root at fw1dv:~# dpkg -l | grep parted
> ii libparted0debian1 2.3-5 The GNU Parted disk partitioning shared library
> ii parted 2.3-5 The GNU Parted disk partition resizing progra
Ok, so I read this as "it even fails without setup-storage doing anything" - is
that right? But then, what is it that is giving us trouble!?
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/330918dc/attachment-0001.bin>
More information about the linux-fai
mailing list