JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual     Sun QFS and Sun Storage Archive Manager 5.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  User Commands (Man Pages Section 1)

2.  Maintenance Commands (Man Pages Section 1M)

archive_audit(1M)

archive_mark(1M)

archiver(1M)

archiver.sh(1M)

arcopy(1M)

arfind(1M)

auditslot(1M)

backto(1M)

build_cat(1M)

chmed(1M)

cleandrive(1M)

clri(1M)

damage(1M)

dev_down.sh(1M)

dmpshm(1M)

dump_cat(1M)

dump_log(1M)

exarchive(1M)

export(1M)

fsmadm(1M)

fsmdb(1M)

fsmgmtd(1M)

fsmgr(1M)

fsmgr_setup(1M)

fsmupd(1M)

generic(1M)

gnutar(1M)

HAStoragePlus_samfs(1M)

import(1M)

itemize(1M)

load(1M)

load_notify.sh(1M)

log_rotate.sh(1M)

mccfg(1M)

mount_samfs(1M)

move(1M)

nrecycler.sh(1M)

odlabel(1M)

qfsdump(1M)

qfsrestore(1M)

rearch(1M)

recover.sh(1M)

recycler(1M)

recycler.sh(1M)

releaser(1M)

reserve(1M)

restore.sh(1M)

robots(1M)

rpc.sam(1M)

sam-amld(1M)

sam-archiverd(1M)

sam-arcopy(1M)

sam-arfind(1M)

sam-catserverd(1M)

sam-clfsd(1M)

sam-clientd(1M)

sam-dbupd(1M)

sam-fsalogd(1M)

sam-fsd(1M)

sam-ftpd(1M)

sam-genericd(1M)

sam-grau_helper(1M)

sam-ibm3494d(1M)

sam-nrecycler(1M)

sam-recycler(1M)

sam-releaser(1M)

sam-rftd(1M)

sam-robotsd(1M)

sam-rpcd(1M)

sam-scannerd(1M)

sam-serverd(1M)

sam-sharefsd(1M)

sam-shrink(1M)

sam-sony_helper(1M)

sam-sonyd(1M)

sam-stagealld(1M)

sam-stagerd(1M)

sam-stagerd_copy(1M)

sam-stk_helper(1M)

sam-stkd(1M)

samadm(1M)

sambcheck(1M)

samchaid(1M)

samcmd(1M)

samcrondump(1M)

samcronfix(1M)

samd(1M)

samdb(1M)

samexplorer(1M)

samexport(1M)

samfsck(1M)

samfsconfig(1M)

samfsdump(1M)

samfsinfo(1M)

samfsrestore(1M)

samfstyp(1M)

samgetmap(1M)

samgetvol(1M)

samgrowfs(1M)

samimport(1M)

samload(1M)

sammkfs(1M)

samncheck(1M)

samquota(1M)

samquotastat(1M)

samset(1M)

samsharefs(1M)

samsnoop(1M)

samstorade(1M)

samtrace(1M)

samu(1M)

samunhold(1M)

save_core.sh(1M)

scanner(1M)

scsi_trace_decode(1M)

sefreport(1M)

sendtrap(1M)

set_admin(1M)

set_state(1M)

showqueue(1M)

stageall(1M)

stageback.sh(1M)

star(1M)

tapealert(1M)

tarback.sh(1M)

tplabel(1M)

tpverify(1M)

trace_rotate(1M)

umount_samfs(1M)

unarchive(1M)

undamage(1M)

unload(1M)

unrearch(1M)

unreserve(1M)

3.  Library Functions (Man Pages Section 3)

4.  Library Functions (Man Pages Section 3X)

5.  File Formats (Man Pages Section 4)

6.  Standards, Environment, and Macros (Man Pages Section 5)

7.  Device and Network Interfaces (Man Pages Section 7)

samgrowfs(1M)

NAME
     samgrowfs - Adds disk partitions to an existing Sun  QFS  or
     SAM-QFS file system

SYNOPSIS
     samgrowfs [-V] fsname

AVAILABILITY
     SUNWsamfs

DESCRIPTION
     The samgrowfs command adds disk partitions to an Sun QFS and
     SAM-QFS file system and allows the file system to grow.

     The  following  procedure  uses  the  samgrowfs  command  to
     increase the size of a Sun QFS or SAM-QFS file system:

     1. Unmount all the file systems you want to grow.

     2. In a Sun QFS or SAM-QFS environment, idle all  drives  by
        entering  a  samcmd idle eq and a samd stop command.  For
        more information on these commands,  see  the  samcmd(1M)
        and samd(1M) man pages.

     3. Edit the mcf file, save the changes, and quit the editor.
        Up  to  252  disk  partitions can be specified in the mcf
        file for a Sun QFS or SAM-QFS file system.  The new  par-
        titions  must be placed after the existing partitions for
        the specified family set fsname.

     4. Run the samd config command to notify sam-fsd
        of the change to /etc/opt/SUNWsamfs/mcf (see samd(1M)).

     5. Run the samgrowfs(1M) command on the fsname file system.

     6. Mount the fsname file system.

     For more information on this procedure, see the Sun QFS File
     System Configuration and Administration Guide.

OPTIONS
     This command accepts the following arguments:

     -V        Lists configuration information but does not  exe-
               cute the command.

     fsname    Specifies the existing family set name of the file
               system  that  is  to grow.  This is the family set
               name as specified in the mcf file.

EXAMPLE
     The following example  adds  2  partitions  to  an  existing
     1-partition  Sun  QFS  file  system.   The  mcf file for the
     existing 1-partition file system with a family set  name  of
     samfs1 is as follows:

     samfs1  10  ms  samfs1
     /dev/dsk/c0t3d0s7  11  md  samfs1  -

     The procedure is as follows:

     1. Unmount the samfs1 file system.

        server# umount samfs1

     2. Kill the sam-amld process:

        server# samd stop

     3. Edit the mcf file and add the 2 new  partitions  for  the
        file system with family set name of samfs1:

        samfs1  10  ms  samfs1
        /dev/dsk/c0t3d0s7  11  md  samfs1  -
        /dev/dsk/c2t3d0s2  12  md  samfs1  -
        /dev/dsk/c2t4d0s2  13  md  samfs1  -

     4. Use the samd(1M) config command  to  propagate  the  file
        changes and restart the system:

        server# samd config

     5. Grow and mount the file system by entering the  following
        commands:

        server# samgrowfs samfs1
        server# mount samfs1

FILES
     /etc/opt/SUNWsamfs/mcf   The configuration file for Sun  QFS
                              and SAM-QFS file systems.

SEE ALSO
     samcmd(1M), samd(1M), sammkfs(1M).

     mcf(4).

     Sun QFS File System Configuration and Administration Guide.

WARNINGS
     As with creating any type of file system, if you specify the
     wrong  partition  names,  you  risk  damaging user or system
     data.  Be sure to specify  partitions  which  are  otherwise
     unused on your system.  Do not use overlapping partitions.

     To grow a Sun QFS file system, you must add a metadata  par-
     tition (mm) prior to issuing a samgrowfs command.  Data par-
     titions can be added as well as  metadata  partitions.   The
     added metadata partition contains block reservation informa-
     tion for all added partitions. When adding a small  metadata
     partition  with  large  data  partitions, the small metadata
     partition may be too small to hold the block reservation  as
     well  as other information, depending on total storage added
     and DAU size. This condition may cause an error, or  a  very
     full metadata partition after samgrowfs.

     If the file system is not unmounted prior  to  changing  the
     configuration,  you  can end up in a situation where you can
     not mount the file system. In that case, take the eq out  of
     mcf and run samd config.