![]() |
|
|||||||
| OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Hi!
As i want to switch my desktop pc to openbsd soon, i have some questions regarding ffs2. The FAQ says, that ffs2 will be chosen automatically if the slice is bigger than 1TiB. All the 'standard' slices like /, /usr, /var and /tmp are ffs by default, but for /home i wondered if there is a difference between ffs and ffs2. In my case, /home will only be around 800 GiB and it will used mostly for flacs (20-40 MiB each). Are there any advantages using ffs2? Should i tweak the standard parameters for fsize, bsize? And if i would use it, should i just do a Code:
# newfs -O 2 sd0X # reboot Best, drm |
|
||||
|
Yes, that would be the command. However I don't believe you will have any particular advantage to using FFS2 for your use case, as there is no additional functionality.
-- Time for fsck(8) on boot up may be a concern, as the partition is so large. I mark large non-critical partitions like these with no fsck in fstab(8), and then check to see if they mounted in /etc/rc.local in order to execute fsck(8) in the event the mounts failed. For example, in one of my systems I have a 750GB drive with a single filesystem on it, and in that system's /etc/fstab: Code:
bec2b3983466e45c.d /tomb ffs rw,softdep,nodev,nosuid 1 0 Code:
# background fsck /tomb if required then mount. df | grep -q tomb || (echo fscking /tomb; fsck -p /tomb;mount /tomb) &
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 13th September 2012 at 01:53 PM. Reason: clarity and typo |
|
|||
|
Hi jggimi!
Thanks for your answer. If i get it right, with your approach you can use your 'vital' partitions -- such as /home -- right after they're fscked at boot, while e.g. /multimedia is beeing repaired in the background? Maybe i will just create a separate slice for my music files and mount it read-only by default, so that there should be no need to fsck it at boot. Then, my /home would be around 80 GiB. Does FFS2 support faster fsck-times? Or is it really just about supporting lager disks? That still is not totally clear to me. Thanks and best regards, drm |
|
||||
|
Quote:
Quote:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Ok, now i got it. Thanks
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advantages of FreeBSD over OpenBSD [Desktop] | EverydayDiesel | FreeBSD General | 38 | 6 Days Ago 05:18 PM |
| ffs2 | knasbas | OpenBSD General | 5 | 29th September 2012 01:07 PM |
| OpenBSD home stretch to OpenBSD 5.2! | ocicat | News | 2 | 16th July 2012 01:33 PM |
| NFS mount /usr/home? | giddyupman | FreeBSD General | 1 | 1st September 2008 07:06 PM |
| FFS2 in OpenBSD, what do you need? | Sunnz | OpenBSD General | 0 | 5th May 2008 08:05 AM |