Re: disklabel differences FreeBSD, DragonFly




:
:>>>>> "Dmitry" == Dmitry Marakasov <amdmi3@xxxxxxx> writes:
:
:Dmitry> * Matthew Dillon (dillon@xxxxxxxxxxxxxxxxxxxx) wrote:
:>> felt that 8 partitions is restrictive. My main home server has 10
:>> and the main DragonFly box has 11.
:>>
:>> There is another solution for FreeBSD folks, however. You *DO*
:>> have four slices to play with. You can put a disklabel with 8
:>> partitions in it on each one (for 32 total). It isn't as
:>> convenient, but it does work.
:
:Dmitry> About `lack' of partitions - don't forget that labels can be
:Dmitry> nested. Just do `bsdlabel -w /dev/ad0s1e` - you'll get
:Dmitry> /dev/ad0s1ea.
:
:Don't also forget that gpt(8) exists and seems to provide for large
:numbers of partitions. It even seems to be compiled into GENERIC by
:default.
:
:Dave.

Yah, well... I'd be a bit leery of using anything more complex then
a basic disklabel. The more complex the setup, the more likely that
a disk crash will become unrecoverable.

I had an issue a little while back with a disk crash where the OS's
insistence on reading numerous sectors at both the beginning and
end of the disk before 'recognizing' it as a disk prevented me from
being able to access the disk at all, even when all I wanted to do
was to make a disk image of e.g. '/dev/ad6' and skip over the bad
sectors. It pissed me off so much I rewrote the code in DragonFly to
not actually try to interpret a slice or partition table unless something
needing the slice or partition table was accessed (like '/dev/ad6s1').

A linked or recursive partition table makes things all that much more
fragile. Recursion isn't as big a deal as linking. Linked partition
tables are a disaster waiting to happen. No thanks!

-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • SUMMARY: Mirroring Questions Part 1 & 2
    ... If you use two diffrent size hard drives to mirror you can reclaim the un-used space on the larger of the two drives, this seems to not be recommended because you will take a performance hit. ... If I mirror with drives of different sizes, root disk being the smallest and the mirror being the largest, will I suffer performance problems? ... Both disks have identical partions setup when looking thru the format command expect slice 2. ... If you have only a few partitions that could be considered actual boot ...
    (SunManagers)
  • Re: How do you resize an existing partition / slice ?
    ... If you have extra disk space it's fairly straightforward to use dump/ restore and re-partition. ... The basics were to dump the contents of my root, var, and usr partitions to 3 files on another disk. ... I booted from a distribution CD and installed a new OS on slice 2 with the default partitions. ...
    (freebsd-questions)
  • Re: Problem adding new slices
    ... on the disk for the running system. ... If you have any partition within a slice mounted, ... only in that case not with partitions but with slices. ... All the reboots were probably unneeded, btw, but a good test that the ...
    (freebsd-stable)
  • Re: need more space
    ... > Filesystem Size Used Avail Capacity iused ifree %iused Mounted on ... > telling me that my / slice is pretty much full. ... All of those partitions you show in the above df look to be ... the disk partitions from scratch and then restore the backups in to ...
    (freebsd-questions)
  • LVM on SW RAID for sarge - success
    ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
    (Debian-User)