Revision [3707]

Last edited on 2010-05-03 21:22:01 by KenFong
Additions:
==File permission==
Grant full access to multiple users
chmod -R A+user:usera:rwxpd:fd:allow /export/home/share
chmod -R A+user:userb:rwxpd:fd:allow /export/home/share
chmod -R A+user:userc:rwxpd:fd:allow /export/home/share


Revision [2299]

Edited on 2009-04-30 09:28:57 by WikiAdmin
Additions:
vm.kmem_size="1024M"
vm.kmem_size_max="1024M"


Revision [2147]

Edited on 2009-01-10 11:19:17 by WikiAdmin
Additions:
zfs set quota=30GB zvol1/u01
Deletions:
zfs set reservation=30GB zvol1/u01


Revision [2002]

Edited on 2008-10-13 21:55:08 by WikiAdmin
Additions:
==Memory requirements==
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=8167+0+current/freebsd-fs


Revision [2001]

Edited on 2008-10-13 21:43:39 by WikiAdmin
Additions:
zfs set mountpoint=none zvol1
zfs set mountpoint=/u01 zvol1/u01
zfs list
Deletions:
# zfs set mountpoint=/u01 zvol1/u01
# zfs list


Revision [1637]

Edited on 2008-04-09 07:42:16 by WikiAdmin
Additions:
ZFS has many interesting features. The following works on Solaris.
==Other ports of ZFS==
FreeBSD http://wiki.freebsd.org/ZFSQuickStartGuide
Fuse http://www.wizy.org/wiki/ZFS_on_FUSE
Deletions:
ZFS has many interesting features. The following works on Solaris but ZFS was also ported to FreeBSD http://wiki.freebsd.org/ZFSQuickStartGuide


Revision [1622]

Edited on 2008-04-08 01:16:10 by WikiAdmin
Additions:
ZFS has many interesting features. The following works on Solaris but ZFS was also ported to FreeBSD http://wiki.freebsd.org/ZFSQuickStartGuide
==Getting the partition/drive names==


Revision [1618]

Edited on 2008-04-07 19:26:24 by WikiAdmin
Additions:
First off, use iostat to list all the partition names
bash-3.00# iostat -En


Revision [1617]

Edited on 2008-04-07 19:04:17 by WikiAdmin
Additions:
==Extending mirror==
Suppose you want to extend the mirror volume and you have the new bigger drives (c3txd0) ready.
# zpool replace zvol1 c1t1d0 c3t1d0
# zpool replace zvol1 c1t3d0 c3t3do
==Fixing failed mirror==
Replace the faulty drive then
# zpool replace zvol1 c1t3d0
==Changing mount point==
# zfs set mountpoint=/u01 zvol1/u01
# zfs list


Revision [1616]

Edited on 2008-04-07 18:59:23 by WikiAdmin
Additions:
==Create a new raid-1 pool==
==Create filesystem==
As soon as the mirror is created, one can start using the filesystem at for example /zvol1. If you need create "sub-directories" or mount points inside that mount point, use the zfs command:
zfs create zvol1/u01
zfs set reservation=30GB zvol1/u01
zfs create zvol1/u02
Deletions:
Create a new pool
> zpool create -f zvol1 /dev/dsk/c1t1d0
> zpool status zvol1
c1t1d0 ONLINE 0 0 0
> zpool list
zvol1 68G 88K 68.0G 0% ONLINE -
Migrate it to raid-1
Or do it in one-shot
zpool create zvol1 mirror c0t0d0 c0t1d0


Revision [1615]

Edited on 2008-04-07 18:53:56 by WikiAdmin
Additions:
bash-3.00# zpool create -f zvol1 mirror c1t1d0 c1t3d0
bash-3.00# zpool status
mirror ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
bash-3.00# zpool list
zvol1 68G 89K 68.0G 0% ONLINE -
Deletions:
> zpool attach zvol1 /dev/dsk/c1t1d0 /dev/dsk/c1t3d0
> zpool status


Revision [1614]

Edited on 2008-04-07 18:45:37 by WikiAdmin
Additions:
Or do it in one-shot
zpool create zvol1 mirror c0t0d0 c0t1d0


Revision [1613]

Edited on 2008-04-07 18:43:51 by WikiAdmin
Additions:
> zpool create -f zvol1 /dev/dsk/c1t1d0
> zpool status zvol1
pool: zvol1
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
zvol1 ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
> zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
zvol1 68G 88K 68.0G 0% ONLINE -
> zpool attach zvol1 /dev/dsk/c1t1d0 /dev/dsk/c1t3d0
> zpool status
Deletions:
zpool create -f zvol1 /dev/dsk/c1t1d0
zpool status zvol1
zpool list
zpool attach zvol1 /dev/dsk/c1t1d0 /dev/dsk/c1t3d0
zpool status


Revision [1612]

The oldest known version of this page was created on 2008-04-07 18:42:27 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki