Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help with Solaris file system Post 302843752 by samnyc on Wednesday 14th of August 2013 05:45:14 PM
Old 08-14-2013
Help with Solaris file system

Hi,

I have not worked on Solaris 10 that much. Need some help with this. I can't seem where the file or how the file systems are mounted. Please see the /etcvfstab below.

Code:
more vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/zvol/dsk/rpool/swap        -       -       swap    -       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -


output of df -h

Code:
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/solaris10u9
                        10G   4.9G   5.1G    50%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    17G   440K    17G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1
                        10G   4.9G   5.1G    50%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        10G   4.9G   5.1G    50%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    17G    80K    17G     1%    /tmp
swap                    17G    48K    17G     1%    /var/run
rpool/data              134G    30K    91G     1%    /data
rpool                  134G    97K    91G     1%    /rpool
pool5/sybdata          795G   550G   240G    70%    /sybdata
pool5/sybase           5.0G   1.8G   3.2G    37%    /usr/sybase
dryer:/vol/vol1/solaris/10/sparc/local
                       813G   679G   134G    84%    /usr/local


I don't know what rpool means? How is the root file systems getting mounted. This server needs to be moved, I am trying to do ufsdump on / and I can't seem to figure out how to do.

Please help.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Increase space in the solaris file system

How can I check how much space is left in the solaris file system? and how can I increase those space in the file system?. I am trying to install Oracle Database on Solaris 8.But, it keep giving me error message says that"There is not enough space on the volume you have specified". Thanks ... (1 Reply)
Discussion started by: jung1975
1 Replies

2. UNIX for Dummies Questions & Answers

solaris File system question ( UFS )

Hello all, I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1... (3 Replies)
Discussion started by: i2admin
3 Replies

3. Filesystems, Disks and Memory

on solaris best utility to copy a file system?

Hi, - on a solaris box what is the best utility to copy a whole file system from one place to other? - the aim of the operation is to place the contents of the whole file system to other file system within the discs cp ? - cpio? - tar? - what about file systemes containing symbolic links ?... (1 Reply)
Discussion started by: JAKEZ
1 Replies

4. Solaris

solaris file system

hi all , am a Beginner in solaris end unix , i want mount a new files system in my sunblade 150 , i have 2 HD . someone can show me how i can do that by steps please ? (2 Replies)
Discussion started by: lid-j-one
2 Replies

5. Solaris

/etc/system file in solaris Zone

Hi All, I am just new to the sun Solaris zone server. In the zone server the /etc/system file is missing. Please let me know what they are using instead of system file in Zone server. Please help me in this L Regards, Kalai (1 Reply)
Discussion started by: kalpeer
1 Replies

6. UNIX for Advanced & Expert Users

A file system visible for solaris and windows?

Hi, I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition. I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering: - I... (6 Replies)
Discussion started by: Dann-E
6 Replies

7. Solaris

Solaris file system unable to use available space

Hi, The solaris filesystem /u01 shows available space as 100GB, and used space as 6 GB. The Problem is when iam trying to install some software or copy some files in this file system /u01 Iam unable to copy or install in this file system due to lack of space. ofcourse the software... (31 Replies)
Discussion started by: iris1
31 Replies

8. Solaris

dual boot solaris/solaris zfs file system

Hi, I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out. First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies

9. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies

10. Solaris

Solaris file system space

Hi Experts, I have query regarding output of df command. $ df -k Filesystem 1024-blocks Used Available Capacity Mounted on rpool/ROOT/solaris-161 191987712 6004395 140577816 5% / /devices 0 0 0 0% /devices... (3 Replies)
Discussion started by: sai_2507
3 Replies
df(1M)							  System Administration Commands						    df(1M)

NAME
df - displays number of free disk blocks and free files SYNOPSIS
/usr/bin/df [-F FSType] [-abeghklntVvZ] [-o FSType-specific_options] [block_device | directory | file | resource ...] /usr/xpg4/bin/df [-F FSType] [-abeghklnPtVZ] [-o FSType-specific_options] [block_device | directory | file | resource ...] DESCRIPTION
The df utility displays the amount of disk space occupied by mounted or unmounted file systems, the amount of used and available space, and how much of the file system's total capacity has been used. The file system is specified by device, or by referring to a file or directory on the specified file system. Used without operands or options, df reports on all mounted file systems. df may not be supported for all FSTypes. If df is run on a networked mount point that the automounter has not yet mounted, the file system size will be reported as zero. As soon as the automounter mounts the file system, the sizes will be reported correctly. OPTIONS
The following options are supported for both /usr/bin/df and /usr/xpg4/bin/df: -a Reports on all file systems including ones whose entries in /etc/mnttab (see mnttab(4)) have the ignore option set. -b Prints the total number of kilobytes free. -e Prints only the number of files free. -F FSType Specifies the FSType on which to operate. The -F option is intended for use with unmounted file systems. The FSType should be specified here or be determinable from /etc/vfstab (see vfstab(4)) by matching the directory, block_device, or resource with an entry in the table, or by consulting /etc/default/fs. See default_fs(4). -g Prints the entire statvfs(2) structure. This option is used only for mounted file systems. It can not be used with the -o option. This option overrides the -b, -e, -k, -n, -P, and -t options. -h Like -k, except that sizes are in a more human readable format. The output consists of one line of information for each specified file system. This information includes the file system name, the total space allocated in the file system, the amount of space allocated to existing files, the total amount of space available for the creation of new files by unprivileged users, and the percentage of normally available space that is currently allocated to all files on the file system. All sizes are scaled to a human readable format, for example, 14K, 234M, 2.7G, or 3.0T. Scaling is done by repetitively dividing by 1024. This option overrides the -b, -e, -g, -k, -n, -t, and -V options. This option only works on mounted filesystems and can not be used together with -o option. -k Prints the allocation in kbytes. The output consists of one line of information for each specified file system. This information includes the file system name, the total space allocated in the file system, the amount of space allocated to existing files, the total amount of space available for the creation of new files by unprivileged users, and the percentage of normally available space that is currently allocated to all files on the file system. This option overrides the -b, -e, -n, and -t options. -l Reports on local file systems only. This option is used only for mounted file systems. It can not be used with the -o option. -n Prints only the FSType name. Invoked with no operands, this option prints a list of mounted file system types. This option is used only for mounted file systems. It can not be used with the -o option. -o FSType-specific_optioSpecifies FSType-specific options. These options are comma-separated, with no intervening spaces. See the manual page for the FSType-specific command for details. -t Prints full listings with totals. This option overrides the -b, -e, and -n options. -V Echoes the complete set of file system specific command lines, but does not execute them. The command line is gen- erated by using the options and operands provided by the user and adding to them information derived from /etc/mnt- tab, /etc/vfstab, or /etc/default/fs. This option may be used to verify and validate the command line. -Z Displays mounts in all visible zones. By default, df only displays mounts located within the current zone. This option has no effect in a non-global zone. /usr/bin/df The following option is supported for /usr/bin/df only: -v Like -k, except that sizes are displayed in multiples of the smallest block size supported by each specified file system. The output consists of one line of information for each file system. This one line of information includes the following: o the file system's mount point o the file system's name o the total number of blocks allocated to the file system o the number of blocks allocated to existing files o the number of blocks available for the creation of new files by unprivileged users o the percentage of blocks in use by files /usr/xpg4/bin/df The following option is supported for /usr/xpg4/bin/df only: -P Same as -k except in 512-byte units. OPERANDS
The df utility interprets operands according to the following precedence: block_device, directory, file. The following operands are sup- ported: block_device Represents a block special device (for example, /dev/dsk/c1d0s7); the corresponding file system need not be mounted. directory Represents a valid directory name. df reports on the file system that contains directory. file Represents a valid file name. df reports on the file system that contains file. resource Represents an NFS resource name. USAGE
See largefile(5) for the description of the behavior of df when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). EXAMPLES
Example 1: Executing the df command The following example shows the df command and its output: example% /usr/bin/df / (/dev/dsk/c0t0d0s0 ): 287530 blocks 92028 files /system/contract (ctfs ): 0 blocks 2147483572 files /system/object (objfs ): 0 blocks 2147483511 files /usr (/dev/dsk/c0t0d0s6 ): 1020214 blocks 268550 files /proc (/proc ): 0 blocks 878 files /dev/fd (fd ): 0 blocks 0 files /etc/mnttab (mnttab ): 0 blocks 0 files /var/run (swap ): 396016 blocks 9375 files /tmp (swap ): 396016 blocks 9375 files /opt (/dev/dsk/c0t0d0s5 ): 381552 blocks 96649 files /export/home (/dev/dsk/c0t0d0s7 ): 434364 blocks 108220 files where the columns represent the mount point, device (or "filesystem", according to df -k), free blocks, and free files, respectively. For contract file systems, /system/contract is the mount point, ctfs is the contract file system (used by SMF) with 0 free blocks and 2147483582(INTMAX-1) free files. For object file systems, /system/object is the mount point, objfs is the object file system (see objfs(7FS)) with 0 free blocks and 2147483511 free files. Example 2: Writing Portable Information About the /usr File System The following example writes portable information about the /usr file system: example% /usr/xpg4/bin/df -P /usr Example 3: Writing Portable Information About the /usr/src file System Assuming that /usr/src is part of the /usr file system, the following example writes portable information : example% /usr/xpg4/bin/df -P /usr/src Example 4: Using df to Display Inode Usage The following example displays inode usage on all ufs file systems: example%/usr/bin/df -F ufs -o i ENVIRONMENT VARIABLES
SYSV3 This variable is used to override the default behavior of df and provide compatibility with INTERACTIVE UNIX System and SCO UNIX installation scripts. As the SYSV3 variable is provided for compatibility purposes only, it should not be used in new scripts. When set, any header which normally displays "files" will now display "nodes". See environ(5) for descriptions of the following environment variables that affect the execution of df: LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/dev/dsk/* Disk devices /etc/default/fs Default local file system type. Default values can be set for the following flags in /etc/default/fs. For example: LOCAL=ufs, where LOCAL is the default partition for a command if no FSType is specified. /etc/mnttab Mount table /etc/vfstab List of default parameters for each file system ATTRIBUTES
See attributes(5) for descriptions of the following attributes: /usr/bin/df +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE | +-----------------------------+-----------------------------+ |VALUE | | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ /usr/xpg4/bin/df +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWxcu4 | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
find(1), df_ufs(1M), mount(1M), statvfs(2), default_fs(4), mnttab(4), vfstab(4), attributes(5), environ(5), largefile(5), standards(5), objfs(7FS) NOTES
If UFS logging is enabled on a file system, the disk space used for the log is reflected in the df report. The log is allocated from free blocks on the file system, and it is sized approximately 1 Mbyte per 1 Gbyte of file system, up to a maximum of 64 Mbytes. SunOS 5.10 26 Oct 2004 df(1M)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy