I hope I'm completely misunderstanding the docs for exports(5) and kin, but here goes:
The short form: I have two filesystems I want to export. They're both listed in /etc/exports. The first will be exported just fine, the second yields complaints from mountd about the device being busy. Changing the order of the entries in /etc/exports yields the same symptoms; first one works, second one doesn't. Long form: This is a stock install of 4.7-RELEASE. I have two filesystems. From fstab: /dev/ar0s1f /annex ufs rw 2 2 /dev/ar0s1e /pub ufs rw 2 2 And they are locally mounted upon a reboot: # mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1e on /usr (ufs, local, soft-updates) procfs on /proc (procfs, local) /dev/ar0s1f on /annex (ufs, local, soft-updates) /dev/ar0s1e on /pub (ufs, local, soft-updates) I want to export them thusly: # cat /etc/exports /pub -alldirs -webnfs /annex -alldirs -webnfs If I restart mountd, I see these errors in /var/log/messages: Nov 16 14:58:07 mirror mountd[51794]: could not remount /annex: Device busy Nov 16 14:58:07 mirror mountd[51794]: bad exports list line /annex -alldirs -webnfs The error about /annex being busy is a crock. I can umount, etc. with impunity: # fstat -f /annex USER CMD PID FD MOUNT INUM MODE SZ|DV R/W # umount /annex # mount /annex And, if I put /annex before /pub in exports, I can export /annex, and suddenly /pub is 'busy'. :/ So - is there some subtle bug at play here (if, so I'll open a PR), or have I failed to read/understand some pertinent documentation? Docs state that the two entries need to be on different 'devices', and I assume that they mean 'partitions', and not 'disks'... I'd appreciate any feedback... -- Brian 'you Bastard' Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message