Re: switching from linux to freebsd



Tyler Spivey wrote:
Hello. I'm interested in moving my server from linux to freeBSD, but
have several questions:
2. Can Ufs handle crashes very well, or is a very long fsck needed like
the old ext2 days?

Usually fsck will run in the background after boot has finished. On very hard crashes you may have to boot into single user to fix it. To avoid this, make sure that the base system is on a separate partition, you may even want to mount it read-only for security. (I think these are good advises on any system).

3. is the restriction of NFS-servers only mounting on partition
boundaries going to be removed in the future, if it even still exists?

You can export an entire partition, with -alldirs option you can mount any sub directory with the permissions for that partition, eg:

/home -alldirs -network 192.168.0.0/24

You can also export directories individually, but there are some restrictions, exporting two directories on the same filesystem to the same host must have the same permissions. Eg:

/var/diskless/FreeBSD -ro -maproot=root:wheel -network 192.168.0.0/24
/var/diskless/clt-1/var -maproot=root:wheel 192.168.0.1
/var/diskless/clt-1/tmp -maproot=root:wheel 192.168.0.1

This works fine despite the first being -ro and the others -rw, because the first line exports to a network and not the host, and the second two have same permissions and mappings. But

/var/diskless/FreeBSD -ro -maproot=root:wheel -network 192.168.0.0/24
/var/diskless/clt-1/var -maproot=root:wheel 192.168.0.1
/var/diskless/clt-1/tmp 192.168.0.1

doesn't, because of the missing maproot in the last export line.

Cheers, Erik
--
Ph: +34.666334818 web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: switching from linux to freebsd
    ... What about the first question? ... Can Ufs handle crashes very well, or is a very long fsck needed like ... You can export an entire partition, with -alldirs option you can mount ... same host must have the same permissions. ...
    (freebsd-questions)
  • Cannot open file workbook created in Office XP. API issues?
    ... I have attempted exporting it out as ... every single type of file that XP supports for it's exports and not a ... When I try to open the normal Excel file on the Apple, ... eventually just crashes out half way through opening the file. ...
    (microsoft.public.mac.office.excel)
  • BUG: malloc heap corruption in rpc.nisd_resolv
    ... The yp server uses DNS lookups for host ... rpc.nisd_resolv crashes because of a corrupted malloc heap: ... Message buffer: ...
    (comp.unix.solaris)
  • Re: Safari 3.2 not ready for prime time
    ... Pitthelmet, ... permissions. ... It always crashes when opening multiple tabs, ...
    (comp.sys.mac.apps)
  • Re: Entourage crashing repeatedly
    ... I used Disk Utulity and ran repair ... permissions and that seems to have done it. ... No crashes since. ...
    (microsoft.public.mac.office.entourage)