BXadmin:SAM-QFS Testing
From CCGB
Revision as of 11:05, 31 January 2011 by Phalenor (talk | contribs) (→/etc/opt/SUNWsamfs/archiver.cmd)
Contents
testing setup
/dev/dsk/c1t1d0 = LUN 13 in esxi host group on ds4200, 1TB
hostname is fs7, 64-bit, 2vCPU, 1GB RAM, RDM over 4GFC with NPIV, solaris 10u8
SUNWsamfsr = 5.1.4,REV=5.10.2010.04.05
SUNWsamfsu = 5.1.4,REV=5.10.2010.04.05
notes/commands
commands
- Create filesystem: sammkfs <fs>
- fs info: samfsinfo <fs>
- sam-fsd Check mcf, defaults.conf, diskvols.conf file for correctness
- samd config Initialize environment and apply changes to mcf, etc.
equipment types (mcf)
- ms = fs with archiving, data + metadata on same device. only accepts md types
- ma = fs with archiving, data and metadata on separate devices,
- md = striped or RR using DAU for storing data
- mm = metadata device. can specify multiple. stored RR if there are multiple by default
- mr = striped or RR device for storing data, uses SAU
- gxxx = stripe groups, 0..127
allocation schemes
- md : small = 4KB, large = DAU = 64KB, can be 16, 32, or 64
- mm : small = 4KB, large = 16KB
files
/etc/opt/SUNWsamfs/mcf
http://wikis.sun.com/display/SAMQFSDocs51/About+the+Master+Configuration+File
## /etc/opt/SUNWsamfs/mcf # # Equipment Eq Eq Family Device Additional # Identifier Ord Type Set State Parameters #----------- --- ---- ------ ------ ---------- samfs1 10 ms samfs1 on /dev/dsk/c1t1d0s2 11 md samfs1 on
/etc/vfstab
samfs1 - /samfs1 samfs - yes -
/etc/opt/SUNWsamfs/archiver.cmd
http://wikis.sun.com/display/SAMQFSDocs51/Configuring+the+Archiver
Archive sets to set AFS namei special files to release_n status:
no_release_special . -name AFSIDat/.+?/.+?/special/.* -release n 1 60m no_release_dotvol . -name \.vol$ -release n 1 60m no_release_direntry . -name AFSIDat/.+?/.+?/.+?/.+?/[^+02468ACEGIKMOQSUWYacegikmoqsuwy].+ -release n 1 60m no_release_lock . -name Lock.* -release n 1 60m no_release_dotfiles . -name ^\.vol.* -release n 1 60m
References
- http://wikis.sun.com/display/SAMQFS/Home
- http://mail.opensolaris.org/mailman/listinfo/sam-qfs-discuss
- http://wikis.sun.com/display/SAMQFSDocs51/Home
- http://wikis.sun.com/display/SAMQFSDocs51/Configuring+the+Archiver
- http://www.williamhathaway.com/wordpress/2007/04/26/qfs-on-top-of-zfs/
- http://hub.opensolaris.org/bin/view/User+Group+qosug/sam-and-zfs