I'm migrating some filesystems from UFS to ZFS and I'm not sure how to create a 
couple of them.

I want to migrate /, /var, /opt, /export/home and also want swap and /tmp.  I 
don't care about any of the others.

The first disk, and the one with the UFS filesystems, is c0t0d0 and the 2nd 
disk is c0t1d0.

I've been told that /tmp is supposed to be part of swap.  So far I have:

lucreate -m /:/dev/dsk/c0t0d0s0:ufs -m /var:/dev/dsk/c0t0d0s3:ufs -m 
/export/home:/dev/dsk/c0t0d0s5:ufs -m /opt:/dev/dsk/c0t0d0s4:ufs -m 
-:/dev/dsk/c0t1d0s2:swap -m /tmp:/dev/dsk/c0t1d0s3:swap-n zfsBE -p rootpool

And then set quotas for them.  Is this right?
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to