howmany partitions per disk possible?
erik at dd.nec.com.au
Tue Sep 12 01:15:16 UTC 2006
On Mon, Sep 11, 2006 at 02:08:36PM +0100, Tony Arnold wrote:
> On Mon, 2006-09-11 at 13:10 +0200, Alexander Skwar wrote:
> > > I've already shrunk the PV, I now want to shrink the partition.
> > fdisk is the tool to use for this - you'll delete the partition
> > and create a new one, which starts at the same spot. Finito -
> > partition has been shrinked. :)
> fdisk scares me rigid! There seems to be plenty of scope for wiping the
> whole disk if one is not careful, but thanks for the tip.
And so it should. The man page says it is "a buggy program that
does fuzzy things ... Avoid it if you can.":
There are several *fdisk programs around. Each has its problems and
strengths. Try them in the order cfdisk, fdisk, sfdisk. (Indeed,
cfdisk is a beautiful program that has strict requirements on the partition
tables it accepts, and produces high quality parti- tion tables. Use it if
you can. fdisk is a buggy program that does fuzzy things - usually it happens
to produce reasonable results. Its single advantage is that it has some support
for BSD disk labels and other non-DOS partition tables. Avoid it if you can.
sfdisk is for hackers only - the user interface is terrible, but it is more
correct than fdisk and more powerful than both fdisk and cfdisk. Moreover,
it can be used noninteractively.)
It's interesting that in the manpage, nobody has admitted authorship. ;-)
More information about the ubuntu-users