Create filesystem in Solaris (Veritas)

Creating RAW FS

# vxassist -g appdg make sybtempfs 2g user=sybase group=sybaseg
# newfs /dev/vx/rdsk/appdg/sybtempfs

Mounted FS

# vxassist -g appdg make sybtempfs 2g user=sybase15 group=sybase
# vxprint -ht | grep sybtempfs
v  sybtempfs    –            ENABLED  ACTIVE   4194304  SELECT    –        fsgen
pl sybtempfs-01 sybtempfs    ENABLED  ACTIVE   4194304  CONCAT    –        RW
sd paili01_11-02 sybtempfs-01 paili01_11 37748544 4194304 0       c2t50060E8003AAC711d9 ENA
# mkfs -F vxfs -o largefiles /dev/vx/rdsk/appdg/sybtempfs

create the mount point and mount the file system
# mkdir <mount point>
# mount -F vxfs /dev/vx/dsk/appdg/sybtempfs /apps/sybtemp

chown before and after mounting

change vfstab
/dev/vx/dsk/appdg/sybtempfs /dev/vx/rdsk/appdg/sybtempfs /apps/sybtemp vxfs 3 yes –

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s