Difference between revisions of "BXadmin:SAM-QFS Testing"

From CCGB
Jump to: navigation, search
(commands)
Line 13: Line 13:
 
* Create filesystem: '''sammkfs <fs>'''
 
* Create filesystem: '''sammkfs <fs>'''
 
* fs info: '''samfsinfo <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) ==
 
== equipment types (mcf) ==

Revision as of 17:12, 20 January 2011

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

http://wikis.sun.com/display/SAMQFSDocs51/File+System+Design+Basics#FileSystemDesignBasics-DualandSingleAllocationSchemes

  • 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


References