25ebb
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Quote:
Surely this violates POLA? Surely there was a less disruptive alternative? Why the change? Am I the only one cringing? |
|
#2
|
|||
|
|||
|
Yeah it came as a surprise to me too, but not for the same reason. I actually thought it had already been removed in 7.x. Apparently, I was imagining things, ahem. Or maybe I read about its removal in a future release somewhere. Or maybe it's prescience, hahaha.
Why are you upset? Did you use it?
__________________
May the source be with you! |
|
#3
|
|||
|
|||
|
I did, yes. Every single FreeBSD server I've setup was done so with a dedicated disk structure.
|
|
#4
|
|||
|
|||
|
There were many valid reasons to use it in the past and I'm not sure how many of them are still valid today (Disk encryption, huge concatenated disks with geom&friends, etc.)
Not to mention that there are some old guys around which have a strong feeling that a bsd disk label at the beginning of a disk is more "normal" than this strange fdisk partition table. But of course, not everyone started his BSD experience working with a VAX. So, what exactly is the problem with 8.0 and dangerously dedicated disks so that we can think about the next steps we have to do? Regards .//. Arne |
|
#5
|
|||
|
|||
|
I wonder if that change has anything to do with a
scarcity of /dev (for usb-mounted disks etc) (in _8) entries that have bsd (type 165) slices on them unless geom_bsd.ko geom_label.ko and geom_mbr.ko (one or more of them) are loaded... (at least here, locally, two seperate instances. I've put them in /boot/loader.conf; that process fixed one problem for someone in another thread here... |
|
#6
|
||||
|
||||
|
POLA has nothing to do with it as it's completely irrelevant to users and their privileges.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#7
|
||||
|
||||
|
pardon, my ignorance, but what exactly was “dangerously dedicated UFS" ?
|
|
#8
|
||||
|
||||
|
Quote:
With a dedicated disk there's no slices, so you will have partitions named ad0a, ad0b etc. instead of ad0s1a, ad0s1b etc.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
graudeejs (November 27th, 2009) | ||
|
#9
|
||||
|
||||
|
Ok, thanks
|
|
#10
|
||||
|
||||
|
I have no idea what the Principle Of Least Astonishment (POLA) has to do with users and their privileges. It certainly is relevant to the choice to stop supporting so called 'dangerously dedicated' mode. I've always been in favor of ditching that horrid fdisk kludge wherever possible.
|
|
#11
|
|||
|
|||
|
Quote:
Code:
# newfs /dev/da0 # mount /dev/da0 /blah or # gstripe label foo /dev/da0 /dev/da1 # newfs /dev/stripe/foo # mount /dev/stripe/foo /bar |
|
#12
|
||||
|
||||
|
Quote:
More commenly known in the security field as POLA.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#14
|
||||
|
||||
|
Quote:
It just means different things to different people. Since I have a security background POLA refers to Principle of Least Authority. I didn't even know the Principle of Least Astonishment
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#15
|
|||
|
|||
|
What has "dangerously dedicated mode" to do with a particular filesystem like UFS? How should I understand the Release Notes entry? Currently I have multiple setups like this:
1. gmirror with two disks 2. encrypted mirror using geli 3. bsdlabel partitions (no slices) /dev/mirror/gm0 /dev/mirror/gm0.eli /dev/mirror/gm0.elia /dev/mirror/gm0.elib /dev/mirror/gm0.elic /dev/mirror/gm0.elid /dev/mirror/gm0.elie This does not work with 8.0? The disks are "dedicated" to FreeBSD and the purpose is _complete_ disk encryption. cheers, honk |
|
#16
|
|||
|
|||
|
Errrm, they lie? :
Code:
23:58 (20) "rc.d" root@catflap# uname -a ; df -t ufs|grep -v '/dev/md' FreeBSD catflap.bishopston.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Nov 29 19:37:54 GMT 2009 root@catflap.bishopston.net:/usr/obj/usr/src/sys/CATFLAP i386 Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 253678 203576 29808 87% / /dev/ad2d 10154158 7465492 1876334 80% /misc /dev/ad0s1d 2026030 1037190 826758 56% /var /dev/ad2e 15231278 1180712 12832064 8% /var/log /dev/ad0s1f 507630 2694 464326 1% /var/tmp /dev/ad0s1g 35539756 28938322 3758254 89% /usr /dev/ad0s1h 31254636 25576650 3177616 89% /usr/users /dev/ad2f 38143404 28302558 6789374 81% /usr/jails /dev/ad2a 10154158 7627238 1714588 82% /usr/jails/clash.stockcupboard.com/tidybackup /dev/ad0s1e 4058062 477148 3256270 13% /usr/catflap/backups If this does become reality, how are we to upgrade? Especially remote servers, where we don't have the luxury of loads of spare disks to offload stuff to. *puzzled* |
|
#17
|
|||
|
|||
|
Maybe the first post refers to initial install vs.
buildworld/installworld? And maybe the the .ko I posted above enables upgrades to inadvertantly continue despite not being supported? Guessing at each of them. |
|
#18
|
|||
|
|||
|
Quote:
If I see one more person equate DD mode with UFS, I'm going to shoot someone. Do you know why I removed it? Because it was broken in 8. Simple as that. I could have kept the support in, but then you'd upgrade and all your crap would be broken and you'd be crying. Search the mailing list archives for a reason why this had to change. Specifically, juli and marcus gave some good explanations, I believe. Sorry if I'm coming off grumpy, but apparently there are quite a few people that decided "I'm just going to ignore the warning sysinstall gave me about how this might be a bad idea. Dangerous sounds like fun!" and now they are ranting and raving. Production servers? Really? You thought this was a good idea? STABSTABSTABSTABSTAB. |
|
#19
|
|||
|
|||
|
Quote:
Quote:
Quote:
|
|
#20
|
|||
|
|||
|
idk man I'd have heasitated at the idea of "dangerous"
|
|
#21
|
|||
|
|||
|
Quote:
I never use any of these, and have always preferred to not use the 'DOS-hacks'. Never was it implied that there was any stability risk other than this. Yes, production servers! without the fdkisk/dos stuff - simply more pure, and one less level of spurious partitioning - a bit anal maybe, but not 'dangerous' - only 'dangerous' to the unenlightened who may not realise what they are doing when they pop in some dos-based floppy 'checkdisk' util on their home box. |
|
#22
|
|||
|
|||
|
Quote:
Quote:
cheers, honk |
|
#23
|
|||
|
|||
|
For others, like me, with older disks created by the broken sysinstall dangerously dedicated mode, here is a link into the FreeBSD mail archives describing how to recover the partitions.
http://www.pubbs.net/freebsd/200912/39499/ Basically, dd if=/dev/zero of=/dev/ad# count=1 oseek=1
Last edited by DutchDaemon; December 31st, 2009 at 05:47. |
| The Following User Says Thank You to tvh For This Useful Post: | ||
aragon (December 31st, 2009) | ||
|
#24
|
|||
|
|||
|
Quote:
![]() Quote:
|
|
#25
|
|||
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Convert Dangerously Dedicated Disks to FreeBSD 8.0 with 3ware 9650SE RAID | dgs | Howtos & FAQs (Moderated) | 3 | April 20th, 2010 17:13 |
| DD (Dangerously Dedicated) mode not available | worldwins | Installing & Upgrading | 5 | March 25th, 2010 21:43 |
| Quake2 Dedicated Server? | vask | Installation and Maintenance of FreeBSD Ports or Packages | 1 | February 22nd, 2010 09:14 |
| Hosting Domains with dedicated IP addresses. | miatech | Web & Network Services | 2 | December 23rd, 2009 05:32 |
| Two Dedicated IP addresses, how to route | esogs | Networking | 6 | August 13th, 2009 17:37 |