wonslung said:Another question just popped up. When dealing with compression, Can you switch types? if so it only affects the new data right?
wonslung said:i'm just currious, but why did you go with ufs instead of zfs for root.
i was thinking how cool it would be to have zfs snapshots for when you decide to upgrade stuff.
I guess you could maintain a backup on zfs as well, is that what you do?
phoenix said:No, the vdevs don't have to be symmetrical. You can create a pool with a mirrored vdev, a 5-drive raidz1 vdev, a 6-drive raidz2 vdev, a single drive vdev, and so on. ZFS will then create, in essence, a RAID0 strips across all the vdevs.
[root@Touzyoh ~]# zpool add mokona raidz da2 da3 da4 da5
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses 5-way raidz and new vdev uses 4-way raidz
root@Touzyoh ~]# zpool upgrade -v
This system is currently running ZFS version 6.
The following versions are supported:
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS version
2 Ditto blocks (replicated metadata)
3 Hot spares and double parity RAID-Z
4 zpool history
5 Compression using the gzip algorithm
6 bootfs pool property
For more information on a particular version, including supported releases, see:
http://www.opensolaris.org/os/community/zfs/version/N
Where 'N' is the version number.
[root@Touzyoh ~]# uname -a
FreeBSD Touzyoh.example.me 7.2-STABLE FreeBSD 7.2-STABLE #2: Mon May 11 08:32:11 UTC 2009 root@Touzyoh.example.me:/usr/obj/usr/src/sys/GENERIC amd64
UnixMan said:v
This system is currently running ZFS version 6.
The following versions are supported:
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS version
2 Ditto blocks (replicated metadata)
3 Hot spares and double parity RAID-Z
4 zpool history
5 Compression using the gzip algorithm
6 bootfs pool property
For more information on a particular version, including supported releases, see:
http://www.opensolaris.org/os/community/zfs/version/N
Where 'N' is the version number.
[root@Touzyoh ~]# uname -a
FreeBSD Touzyoh.example.me 7.2-STABLE FreeBSD 7.2-STABLE #2: Mon May 11 08:32:11 UTC 2009 root@Touzyoh.example.me:/usr/obj/usr/src/sys/GENERIC amd64
[/CODE]
wonslung said:well i know the boot loader won't boot zfs but what's wrong with using the compact flash for /boot and putting everything else on zfs. i mean, is there a technical reason not to do this?
i'm asking mainly because that's the way i did it on the last install i did and i want to know if there is any major issue with that?
anyways, most of the computer in the house run freebsd or linux of some kind with the exception of 2 windows machines, both laptops so nfs would be awesome, especially for home directories over the network.
UnixMan said:I had trouble trying to add unsymmetrical vdevs to my pool.
Code:[root@Touzyoh ~]# zpool add mokona raidz da2 da3 da4 da5 invalid vdev specification use '-f' to override the following errors: mismatched replication level: pool uses 5-way raidz and new vdev uses 4-way raidz
Resilvering is interruptible and safe. If the system loses power or is rebooted, the resilvering process resumes exactly where it left off, without any need for manual intervention.