Friday, November 18, 2011

Solaris : vxfs large file

How to check for/enable largefile support on vxfs
To check if largefiles are enabled:
/usr/lib/fs/vxfs/fsadm /mount/pointnolargefiles
Unlike ufs, you can enable vxfs largefile support on the fly with fsadm:
/usr/lib/fs/vxfs/fsadm -o largefiles /mount/point

Remove a mirror from a volume
Dissociate and remove a mirror (plex) from a volume:
vxplex [-g diskgroup] -o rm dis plex
This command will remove the mirror (plex) and all associated subdisks.

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...