Professional Documents
Culture Documents
File Systems
New Solaris 8 feature is UFS logging. This allows you to rebuild a FS quicker. NFS allows you to mount remote file systems from other servers in the network. Solaris 8 is now capable of recording all file operations performed on its exported file systems. This is called NFS Server Logging.
va-scan Copyright 2002, Marchany
Cx Controller X, X=0-7 Ty SCSI ID Y, Y=0-15 D0 always set this way Sz Slice(Partition) Z, Z=0-7
Copyright 2002, Marchany
3% of the actual available space is reserved for system maintenance. A lost+found directory is created for file system checks and repair
va-scan Copyright 2002, Marchany
fsck
fsck is the Unix file system repair command. Its very useful for checking and repairing problems with the disk, file system, superblocks and inodes. These problems are usually caused by a hardware failure or power loss.
va-scan Copyright 2002, Marchany
du, df
The du command displays the size of a directory in a file system.
du s directory
Displays the total size of the directory
du directory
Displays the sizes of the files inside the directory
The df command displays all of the mounted file systems, their sizes and capacity.
va-scan
quot
The quot command will display how much disk space is being used by a particular user. 2 flags
-a report on all mounted file systems -f report the number of files owned by the user.
va-scan Copyright 2002, Marchany
mount, umount
File systems must be mounted before they can be accessed by users. The mount point is the anchor point for the directory tree structure. A mount point is basically an empty directory until you mount a file system on it. The umount command detaches the file system from the mount point and makes the FS unavailable to the users.
va-scan Copyright 2002, Marchany
/etc/mnttab, /etc/vfstab
2 files that control and list the mounted files systems. /etc/mnttab is a system generated file listing the currently mounted file systems. This is not a text file anymoreSolaris 8 changed that. /etc/vfstab is the file that tells the system which file systems to mount at boot time.
va-scan Copyright 2002, Marchany
/etc/vfstab
/, /usr, /var, /opt, /proc, /tmp, /home or /export/home are automatically mounted at boot. /etc/vfstab contains the information needed to mount these file systems. Add your file systems to this file if you want them mounted at boot.
va-scan Copyright 2002, Marchany
/etc/vfstab
7 fields Device path to the file system Raw device path to the disk partition to fsck The mount point directory The file system type (ufs, pcfs, hsfs, uds) The order for fsck to run Mount at boot?
Copyright 2002, Marchany
va-scan
Use the cp command to copy files from the CD to disk. To unload the CD
cd out of the cdrom directory va-scan Copyright Enter: eject cdrom 2002, Marchany
tar
The tar command is used to put all of the contents of a directory tree in a single file. This file can be moved to other locations or systems and then expanded back to the original directory structure 5 main modes
va-scan
C create a tar file from a directory X extract a directory from a tar file T list the contents of a tar without extracting it R append files to the end of the tar file U update files Copyright 2002, Marchany modified since the last if theyve been tar