Re: switching from linux to freebsd



What about the first question? curious too :-)

On Tuesday 01 August 2006 14:51, Erik Norgaard wrote:
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

--
Best Regards
Yuan, Jue @ http://www.yuanjue.net
_______________________________________________
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: Defragmentation tool for PC
    ... after reimaging the boot partition twice ... >> SP1; no more hard crashes). ... >> XP defrag needs at least 15% free space to work!! ... I tend to pre-emptively replace drives anyway but you can still get bitten ...
    (rec.audio.pro)
  • Re: Windows XP Pro security question
    ... To answer to the first question, I suggest that you should check wether ... I don't understand, since SFS is being used, how can there be permission ... folders and the only entry that shows up is Everyone permissions. ... is there any way 'reset' the file system permissions back to the ...
    (microsoft.public.windowsxp.general)
  • Re: reinstalling xp
    ... The first question I ask is why did you feel the need to erase the drive and ... get to the command prompt type the following and press the Enter Key ... Diskpart to create a new partition. ... windows xp and when i get to the license agreement page, my key board and ...
    (microsoft.public.windowsxp.general)
  • Re: switching from linux to freebsd
    ... On very hard crashes you may have to boot into single user to fix it. ... 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. ...
    (freebsd-questions)
  • Re: a double boot
    ... Sorry for the second question, I had to do setup for the mbr ... instead of which is a partition. ... but my first question,is there a rescue option in the installer (for ... the grub boot is erase I want to put it ...
    (Debian-User)