Creating ZFS filesystem on Solaris 10, x86

Redid the installation of Solaris 10 on the X4200
patched everything
Here is the process for creating the filesystem
(It will be expanded when I get more disks)

bash-3.00# zpool create pool c0t0d0s7 c0t1d0s7
invalid vdev specification
use ‘-f’ to override the following errors:
/dev/dsk/c0t0d0s7 is currently mounted on /export/home. Please see umount(1M).
bash-3.00# zpool create pool c0t0d0s7 c0t1d0s7
bash-3.00# umount /export/home
“/etc/vfstab” 12 lines, 424 characters
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd – /dev/fd fd – no –
/proc – /proc proc – no –
/dev/dsk/c0t0d0s1 – – swap – no –
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no

#/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2
yes –
/devices – /devices devfs – no –
ctfs – /system/contract ctfs – no –
objfs – /system/object objfs – no –
swap – /tmp tmpfs – yes –
~
“/etc/vfstab” 12 lines, 425 characters
bash-3.00# zpool create pool c0t0d0s7 c0t1d0s7
invalid vdev specification
use ‘-f’ to override the following errors:
/dev/dsk/c0t0d0s7 contains a ufs filesystem.
bash-3.00# zpool create -f pool c0t0d0s7 c0t1d0s7
bash-3.00# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
pool 130G 80K 130G 0% ONLINE –

bash-3.00# zfs create export/home
cannot create ‘export/home’: no such pool ‘export’
bash-3.00# zfs create pool/home
bash-3.00# zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool 107K 128G 25.5K /pool
pool/home 24.5K 128G 24.5K /pool/home
bash-3.00# cd /pool/home

That was easy.


Posted

in

by

Comments

Leave a Reply