ZFS Command
ZFS Command
ZFS Command
Advantages:-
1.Zpool Capacity of 256 zettabytes
4.Encryption
5.Software RAID
6.Data integrity
Disadvantages :-
1.No way to reduce the zpool capacity
bash-3.00# df -h /ora_vol1
Filesystem size used avail capacity Mounted on
You can use the quota property to set a limit on the amount of
space a file system can use. In addition, you can use
the reservation property to guarantee that some amount of space
is available to a file system. Both properties apply to the dataset
they are set on and all descendents of that dataset.
pool: szpool
state: ONLINE
config:
szpool ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
pool: rzpool
state: ONLINE
config:
rzpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t8d0 ONLINE 0 0 0
state: ONLINE
config:
mzpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0
c1t6d0 ONLINE 0 0 0
# /usr/sbin/smcwebserver enable
# swap -a /dev/zvol/dsk/datapool/vol
# zpool status -x
(21) IOSTAT :-
# zpool iostat
———- —– —– —– —– —– —–
# zpool import
pool: datapool
id: 3824973938571987430916523081746329
Importing Pools
To delete dataset
First we need to mention existing volume name and new voume name
which you want to given.
datapool/home/oracle3/projects/fs1 8K 4.81G 8K
/datapool/home/oracle3/projects/fs1
datapool/home/oracle3/projects/fs2 8K 4.81G 8K
/datapool/home/oracle3/projects/fs2
The -a option can be used to mount all ZFS managed filesystems. Legacy
managed filesystems are not mounted.
# zfs mount -a
# zfs share -a
# zfs unshare -a
If the sharenfs property is off, then ZFS does not attempt to share or
unshare the filesystem at any time.
datapool/web1@now
into sandbox/restfs@today …
# ls /home/ahrens/.zfs/snapshot
Destroying a Clone