|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
||||
root on ZFS
Hi everyone,
I have been experimenting lately with ZFS boot on FreeBSD. I have performed different kind of methods and I've reached to the conclusion that using the "vfs.root.mountfrom" method instead of traditional fstab mounts is more flexible. However, when I try to perform an installation using this guide my system boots and doesn't mount /usr /var /tmp patitions I can only boot to single user mode with readonly ZFS / I suspect that it has something to do with: Code:
'vfs.root.mountfrom="zfs:zroot"' Code:
'vfs.root.mountfrom="zfs:zroot/root"' Please some help!!!
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth. |
|
|||
I don't have the hardware to run ZFS, my fastest machines are a P4 2.0Ghz with only 512MB and an ADM64 with 1 GB of memory, which is not enough to use ZFS.
I installed DragonFlyBSD this summer, and used it's Hammer filesystem, but I haven't been able to really play with it thoroughly
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
What do you think are the minimum requirements for ZFS, anyway, I mean for a good performance - is it the memory that is playing the bigger role or the CPU?
__________________
"I never think of the future. It comes soon enough." - A.E Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org |
|
||||
Solved! Answer can be found here
@DNAeon Memory is the number one factor and a 64bit cpu. Imagine that in my Opensolaris box out of 4G only 512 are free and the system is just sitting. Of course opensolaris kernel is known to be a memory eater but still most of the memory is consumed by the file system. Also, for truly reliable results ECC memory is recommended. FreeBSD 8.0 release running on Vmware Server: Code:
> zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 2.08G 9.67G 269M legacy zroot/swap 1G 10.7G 16K - zroot/tmp 23K 9.67G 23K /tmp zroot/usr 825M 9.67G 341M /usr zroot/usr/home 27K 9.67G 27K /usr/home zroot/usr/ports 188M 9.67G 188M /usr/ports zroot/usr/ports/distfiles 18K 9.67G 18K /usr/ports/distfiles zroot/usr/ports/packages 18K 9.67G 18K /usr/ports/packages zroot/usr/src 297M 9.67G 297M /usr/src zroot/var 9.64M 9.67G 108K /var zroot/var/crash 18.5K 9.67G 18.5K /var/crash zroot/var/db 9.35M 9.67G 9.33M /var/db zroot/var/db/pkg 18K 9.67G 18K /var/db/pkg zroot/var/empty 18K 9.67G 18K /var/empty zroot/var/log 52K 9.67G 52K /var/log zroot/var/mail 18K 9.67G 18K /var/mail zroot/var/run 60K 9.67G 60K /var/run zroot/var/tmp 19K 9.67G 19K /var/tmp Code:
> zpool status zroot pool: zroot state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk3 ONLINE 0 0 0 errors: No known data errors
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth. |
|
|||
Free memory means little with the FreeBSD memory manager. You'd have that much free memory after such a transfer with any filesystem, UFS or ZFS or any other. And the same goes for a 10GB *read* operation too.
__________________
May the source be with you! |
|
||||
Quote:
George
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth. |
|
|||
See http://lists.freebsd.org/pipermail/f...er/053156.html for a discussion on ZFS on root, useful links and tips
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ZFS root and linproc 7.2-RC1 | wnsi | FreeBSD Installation and Upgrading | 0 | 20th April 2009 06:54 PM |
ssh root | Nk2Network | OpenBSD Security | 22 | 8th April 2009 06:59 PM |
NTOP as root | sniper007 | FreeBSD Security | 0 | 27th January 2009 07:42 PM |
Wheel Can't su root | MetalHead | OpenBSD General | 2 | 22nd November 2008 12:44 AM |
root mail | sheriff26 | FreeBSD General | 5 | 2nd July 2008 04:56 PM |