Sponsored Content
Full Discussion: backup storage
Operating Systems Solaris backup storage Post 302267881 by seyiisq on Sunday 14th of December 2008 11:37:26 AM
Old 12-14-2008
Below is as requested by Incredible
disk size = 650gb
OS version = solaris 10 x86-64bit
1 disk with 3 partition ( for solaris , window xp, and for backup)

Code:
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1d0s0      15141312  869019 14120880     6%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 1514640     908 1513732     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
sharefs                    0       0       0     0%    /etc/dfs/sharetab
/dev/dsk/c1d0s6      4034061 2590171 1403550    65%    /usr
/usr/lib/libc/libc_hwcap1.so.1
                     4034061 2590171 1403550    65%    /lib/libc.so.1
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c1d0s4      4034061 1171975 2821746    30%    /var
swap                 1513808      76 1513732     1%    /tmp
swap                 1513756      24 1513732     1%    /var/run
/dev/dsk/c1d0s5      76514035   65555 75683340     1%    /u01
/dev/dsk/c1d0s7      151287721  829238 148945606     1%    /export/home

Code:
# cat /etc/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/dsk/c1d0s1 -       -       swap    -       no      -
/dev/dsk/c1d0s0 /dev/rdsk/c1d0s0        /       ufs     1       no      -
/dev/dsk/c1d0s6 /dev/rdsk/c1d0s6        /usr    ufs     1       no      -
/dev/dsk/c1d0s4 /dev/rdsk/c1d0s4        /var    ufs     1       no      -
/dev/dsk/c1d0s7 /dev/rdsk/c1d0s7        /export/home    ufs     2       yes    -/dev/dsk/c1d0s5 /dev/rdsk/c1d0s5        /u01    ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
sharefs         -       /etc/dfs/sharetab       sharefs -       no      -
#

Code:
                                            Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1                 IFS: NTFS         0  9560    9561     25
          2       Active    Solaris2       9561  25496    15936     41
          3                 IFS: NTFS      25497  28683    3187      8



SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection:

 
cmdk(7D)							      Devices								  cmdk(7D)

NAME
cmdk - common disk driver SYNOPSIS
cmdk@target, lun : [ partition | slice ] DESCRIPTION
The cmdk device driver is a common interface to various disk devices. The driver supports magnetic fixed disks and magnetic removable disks. The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A sin- gle read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are transmit- ted. The names of the block files are found in /dev/dsk; the names of the raw files are found in /dev/rdsk. I/O requests to the magnetic disk must have an offset and transfer length that is a multiple of 512 bytes or the driver returns an EINVAL error. Slice 0 is normally used for the root file system on a disk, slice 1 as a paging area (for example, swap), and slice 2 for backing up the entire fdisk partition for Solaris software. Other slices may be used for usr file systems or system reserved area. Fdisk partition 0 is to access the entire disk and is generally used by the fdisk(1M) program. FILES
/dev/dsk/cndn[s|p]n block device (IDE) /dev/rdsk/cndn[s|p]n raw device (IDE) where: cn controller n dn lun n (0-7) sn UNIX system slice n (0-15) pn fdisk partition(0) /kernel/drv/cmdk 32-bit kernel module. /kernel/drv/amd64/cmdk 64-bit kernel module. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
fdisk(1M), mount(1M), lseek(2), read(2), write(2), readdir(3C), scsi(4), vfstab(4), attributes(5), dkio(7I) SunOS 5.10 9 Oct 2004 cmdk(7D)
All times are GMT -4. The time now is 03:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy