Vous êtes sur la page 1sur 16

The statvfs structure contains the following members:

f_bsize; => preferred file system block size


f_frsize; => fundamental file system block size
f_blocks; => total blocks of f_frsize on file system
f_bfree; => free blocks
f_bavail; => blocks available to non-superusers or users without the
LIMIT privilege
f_files; => total file nodes in file system
f_ffree; => free file nodes in file system
f_favail; => file nodes available to non-superusers or users without
the LIMIT privilege

f_size; => file system size


f_fsid; => file system ID for file system
f_namemax => maximum file name length

char f_basetype[FSTYPSZ]; /* file system type name is */


/* null-terminated */
ulong f_flag; /* bit mask of flags */

char f_fstr[32]; /* file system specific string */

# bdf -i
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol3 1613824 519896 1085408 32% 2500 34172 7% /
/dev/vg00/lvol1 1835008 322600 1500696 18% 652 47252 1% /stand
/dev/vg00/lvol8 7143424 2178440 4928072 31% 37072 155152 19% /var
/dev/vg00/lvol7 7995392 3411928 4547776 43% 28762 143206 17% /usr
/dev/vg00/lvol4 524288 20816 499544 4% 27 15717 0% /tmp
/dev/vg00/lvol6 10780672 6025664 4717896 56% 65924 148572 31% /opt
/dev/vg00/lvol5 106496 5872 99960 6% 64 3136 2% /home
/dev/vg20/lvdepot 15360000 7819059 7069639 53% 5 1885235 0% /vol20
172.16.7.85:/ISO 39321600 15248405 22568627 40% 8 6018296 0% /mnt
/dev/fspd1 7797770 7797770 0 100% -1 0 100% /iso_img
/dev/vg08/demo 512000 2261 477888 0% 4 127432 0% /oracle
#
#
#
#
#
#

module 8-7
# mkfs -F vxfs -m /dev/vg00/lvol3 //reports the attributes of
an existing file system's layout
mkfs -F vxfs -o
ninode=unlimited,bsize=8192,version=6,inosize=256,logsize=2048,largefiles
/dev/vg00/lvol3 1613824
#

# ls
f1 f2 file1 file2 kuldeep
# ll -i file1
61 -rw-r--r-- 2 root sys 11 May 10 04:58 file1
# ll -i
total 64
61 -rw-r--r-- 2 root sys 11 May 10 04:58 f1
63 lrwxr-xr-x 1 root sys 19 May 10 05:18 f2 ->
/home/kuldeep/file2
61 -rw-r--r-- 2 root sys 11 May 10 04:58 file1
62 -rw-r--r-- 1 root sys 11 May 10 05:18 file2
60 -rw-r--r-- 1 root sys 24 May 10 04:56 kuldeep

# ls
f1 file1 file2 kuldeep
# ln -s /home/kuldeep/file2 /home/kuldeep/f2
# ll -i
total 64
61 -rw-r--r-- 2 root sys 11 May 10 04:58 f1
63 lrwxr-xr-x 1 root sys 19 May 10 05:18 f2 ->
/home/kuldeep/file2
61 -rw-r--r-- 2 root sys 11 May 10 04:58 file1
62 -rw-r--r-- 1 root sys 11 May 10 05:18 file2
60 -rw-r--r-- 1 root sys 24 May 10 04:56 kuldeep

===================================================================================
==========================================================================

# mount -v //reports which file systems


are mounted where
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs
ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017

# bdf //reports which file systems are


mounted where ,also reports file system size and other info
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1613824 519896 1085408 32% /
/dev/vg00/lvol1 1835008 322600 1500696 18% /stand
/dev/vg00/lvol8 7143424 2178424 4928096 31% /var
/dev/vg00/lvol7 7995392 3411928 4547776 43% /usr
/dev/vg00/lvol4 524288 20816 499544 4% /tmp
/dev/vg00/lvol6 10780672 6025664 4717896 56% /opt
/dev/vg00/lvol5 106496 5872 99960 6% /home
/dev/vg20/lvdepot 15360000 7819059 7069639 53% /vol20
172.16.7.85:/ISO 39321600 15248405 22568627 40% /mnt
/dev/fspd1 7797770 7797770 0 100% /iso_img
/dev/vg08/demo 512000 2261 477888 0% /oracle

#fstype -v /dev/vg00/lovl5
vxfs
version: 6
f_bsize: 8192
f_frsize: 1024
f_blocks: 32768
f_bfree: 31139
f_bavail: 29193
f_files: 7816
f_ffree: 7784
f_favail: 3688
f_fsid: 1073741834
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 9
f_size: 32768
===================================================================================
================================================================================
# lvmadm -t
--- LVM Limits ---
VG Version 1.0
Max VG Size (Tbytes) 510
Max LV Size (Tbytes) 16
Max PV Size (Tbytes) 2
Max VGs 256
Max LVs 255
Max PVs 255
Max Mirrors 2
Max Stripes 255
Max Stripe Size (Kbytes) 32768
Max LXs per LV 65535
Max PXs per PV 65535
Max Extent Size (Mbytes) 256

VG Version 2.0
Max VG Size (Tbytes) 2048
Max LV Size (Tbytes) 256
Max PV Size (Tbytes) 16
Max VGs 512
Max LVs 511
Max PVs 511
Max Mirrors 5
Max Stripes 511
Max Stripe Size (Kbytes) 262144
Max LXs per LV 33554432
Max PXs per PV 16777216
Max Extent Size (Mbytes) 256

VG Version 2.1
Max VG Size (Tbytes) 2048
Max LV Size (Tbytes) 256
Max PV Size (Tbytes) 16
Max VGs 2048
Max LVs 2047
Max PVs 2048
Max Mirrors 5
Max Stripes 511
Max Stripe Size (Kbytes) 262144
Max LXs per LV 33554432
Max PXs per PV 16777216
Max Extent Size (Mbytes) 256

VG Version 2.2
Max VG Size (Tbytes) 2048
Max LV Size (Tbytes) 256
Max PV Size (Tbytes) 16
Max VGs 2048
Max LVs 2047
Max PVs 2048
Max Mirrors 5
Max Stripes 511
Max Stripe Size (Kbytes) 262144
Max LXs per LV 33554432
Max PXs per PV 16777216
Max Extent Size (Mbytes) 256
Min Unshare unit(Kbytes) 512
Max Unshare unit(Kbytes) 4096
Max Snapshots per LV 255

# ioscan -fnNC disk /*listing all disk class devices


and their persistent DSFs*/
Class I H/W Path Driver S/W State H/W Type Description
===================================================================================
===============
disk 4 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP Virtual
LvDisk
/dev/disk/disk4 /dev/disk/disk4_p2 /dev/rdisk/disk4
/dev/rdisk/disk4_p2
/dev/disk/disk4_p1 /dev/disk/disk4_p3 /dev/rdisk/disk4_p1
/dev/rdisk/disk4_p3
disk 7 64000/0xfa00/0x9 esdisk CLAIMED DEVICE HP Virtual
LvDisk
/dev/disk/disk7 /dev/rdisk/disk7
disk 8 64000/0xfa00/0xa esdisk CLAIMED DEVICE HP Virtual
LvDisk
/dev/disk/disk8 /dev/rdisk/disk8
disk 9 64000/0xfa00/0xb esdisk CLAIMED DEVICE HP Virtual
LvDisk
/dev/disk/disk9 /dev/disk/disk9_p2 /dev/rdisk/disk9
/dev/rdisk/disk9_p2
/dev/disk/disk9_p1 /dev/disk/disk9_p3 /dev/rdisk/disk9_p1
/dev/rdisk/disk9_p3
disk 11 64000/0xfa00/0xc esdisk CLAIMED DEVICE HP Virtual
LvDisk
/dev/disk/disk11 /dev/rdisk/disk11
disk 12 64000/0xfa00/0xd esdisk CLAIMED DEVICE HP Virtual
LvDisk
/dev/disk/disk12 /dev/rdisk/disk12
#

# lvmadm -l
--- Version 1.0 volume groups ---
VG Name /dev/vg00
PV Name /dev/disk/disk4_p2

VG Name /dev/vg05
PV Name /dev/dsk/c0t2d0

VG Name /dev/vg20
PV Name /dev/dsk/c0t5d0
--- Version 2.0 volume groups ---
VG Name /dev/vg08
PV Name /dev/disk/disk11

## diskinfo /dev/rdisk/disk4
SCSI describe of /dev/rdisk/disk4:
vendor: HP
product id: Virtual LvDisk
type: direct access
size: 37748736 Kbytes
bytes per sector: 512

Module8-13

step 1

# lvcreate -L 16 -n datavol vg20


Logical volume "/dev/vg20/datavol" has been successfully created with
character device "/dev/vg20/rdatavol".
Logical volume "/dev/vg20/datavol" has been successfully extended.
Volume Group configuration for /dev/vg20 has been saved in /etc/lvmconf/vg20.conf
#

step2

# newfs /dev/vg20/rdatavol
newfs: /etc/default/fs is used for determining the file system type
version 7 layout
16384 sectors, 16384 blocks of size 1024, log size 1024 blocks
largefiles supported

step3

# mkdir /data2 //creating mount point for mounting logical


volume rdatavol
# mount /dev/vg20/datavol /data2

step4
#vi /etc/fstab //add the file system to the /etc/fstab/ file
===================================================================================
===============================================

# mount -v
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu
Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017
/dev/vg20/datavol on /data2 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030002 on Wed May 10
07:17:31 2017
#

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1613824 521440 1083872 32% /
/dev/vg00/lvol1 1835008 322600 1500696 18% /stand
/dev/vg00/lvol8 7143424 2178472 4928048 31% /var
/dev/vg00/lvol7 7995392 3411928 4547776 43% /usr
/dev/vg00/lvol4 524288 20816 499544 4% /tmp
/dev/vg00/lvol6 10780672 6025664 4717896 56% /opt
/dev/vg00/lvol5 106496 5888 99944 6% /home
/dev/vg20/lvdepot 15360000 7819059 7069639 53% /vol20
172.16.7.85:/ISO 39321600 15248405 22568627 40% /mnt
/dev/fspd1 7797770 7797770 0 100% /iso_img
/dev/vg08/demo 512000 2261 477888 0% /oracle
/dev/vg20/datavol 16384 2141 13360 14% /data2

===================================================================================
============================================

# vgdisplay -v vg08
--- Volume groups ---
VG Name /dev/vg08
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 2
Open LV 2
Max PV 511
Cur PV 1
Act PV 1
Max PE per PV 262144
VGDA 2
PE Size (Mbytes) 4
Total PE 252
Alloc PE 138
Free PE 114
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 1t
VG Max Extents 262144

--- Logical volumes ---


LV Name /dev/vg08/demo
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1

LV Name /dev/vg08/lvpy
LV Status available/syncd
LV Size (Mbytes) 52
Current LE 13
Allocated PE 13
Used PV 1

--- Physical volumes ---


PV Name /dev/disk/disk11
PV Status available
Total PE 252
Free PE 114
Autoswitch On
Proactive Polling On
# lvcreate _L
# lvcreate -L 24 -n swapvol vg08
Logical volume "/dev/vg08/swapvol" has been successfully created with
character device "/dev/vg08/rswapvol".
Logical volume "/dev/vg08/swapvol" has been successfully extended.
Volume Group configuration for /dev/vg08 has been saved in /etc/lvmconf/vg08.conf

# lvcreate -L 24 -n datavol vg08


Logical volume "/dev/vg08/datavol" has been successfully created with
character device "/dev/vg08/rdatavol".
Logical volume "/dev/vg08/datavol" has been successfully extended.
Volume Group configuration for /dev/vg08 has been saved in /etc/lvmconf/vg08.conf
#

# mount -v
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu
Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017
/dev/vg20/datavol on /data2 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030002 on Wed May 10
07:17:31 2017

===================================================================================
================================
part3
# newfs /dev/vg08/rdatavol
newfs: /etc/default/fs is used for determining the file system type
version 7 layout
24576 sectors, 24576 blocks of size 1024, log size 1024 blocks
largefiles supported

# mkfs -m /dev/vg08/rdatavol
mkfs: /etc/default/fs is used for determining the file system type
mkfs -F vxfs -o
ninode=unlimited,bsize=1024,version=7,inosize=256,logsize=1024,largefiles
/dev/vg08/rdatavol 24576
#

# mkdir /data3
#
#
# mount /dev/vg08/datavol /data3
#
#
# mount -v
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu
Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017
/dev/vg20/datavol on /data2 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030002 on Wed May 10
07:17:31 2017
/dev/vg08/datavol on /data3 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000004 on Wed May 10
09:41:42 2017
#

# vi /etc/fstab
"/etc/fstab" 9 lines, 414 characters
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg08/datavol /data3 vxfs defaults 0 3
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/fstab" 10 lines, 457 characters
#

# umount /data3
#
#
#
# mount -v
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu
Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017
/dev/vg20/datavol on /data2 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030002 on Wed May 10
07:17:31 2017
#

# mount -a
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand

# mount -a
mount: /dev/vg08/datavol is already mounted on /data3
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand
#

===================================================================================
=======================================
part 4

# mount -v
mount: /dev/vg08/datavol is already mounted on /data3 //used as
example for part 4
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand

# cd /data3
# cp /usr/bin/d* /data3 2>/dev/null
# ls /data3
date delta diff dirname
domainname dosll dspcat dtsd
dc deroff diff3 disable dos2ux
dosls dspmsg du
dce_login df diffmk dmpxlt
doschmod dosmkdir dts_ntp_provider dumpfs
dcecp dhcpv6client_ui dig dnssec-keygen doscp
dosrm dts_null_provider dumpmsg
dd dhcpv6db2conf dircmp dnssec-signzone dosdf
dosrmdir dtscp lost+found
#

# pwd
/data3
# umount /data3
umount: cannot unmount /dev/vg08/datavol : Device busy
umount: return error 1.
#cd ..
#pwd
/
# umount /data3
#

# mount -v
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu
Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017
/dev/vg20/datavol on /data2 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030002 on Wed May 10
07:17:31 2017
# cd /data2
# ls
lost+found
# cp /user
# cp /usr/bin/d* /data2 2>/dev/null

vxfs: msgcnt 4 mesg 001: V-2-1: vx_nospace - /dev/vg20/datavol file system full
(1024 block extent)#
#
#
#
#
#
# ls
date dd dhcpv6client_ui diffmk disable
domainname dosdf dts_ntp_provider
dc delta dhcpv6db2conf dig dmpxlt
dos2ux dosll dts_null_provider
dce_login deroff diff dircmp dnssec-
keygen doschmod dspcat dtscp
dcecp df diff3 dirname dnssec-
signzone doscp dspmsg lost+found
# pwd
/data2
#
#
#
# umount /data2
umount: cannot unmount /dev/vg20/datavol : Device busy
umount: return error 1.
# cd ..
# umount /data2
# mount -v
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu
Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017
# ls /data2
#
#
#
# mount /dev/vg20/datavol /data2
# mount -v
/dev/vg00/lvol3 on / type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000003 on Thu Apr 27
04:47:06 2017
/dev/vg00/lvol1 on /stand type vxfs
ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Thu Apr 27
04:47:13 2017
/dev/vg00/lvol8 on /var type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000008 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol7 on /usr type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000007 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol4 on /tmp type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000004 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol6 on /opt type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000006 on Thu Apr 27
04:47:25 2017
/dev/vg00/lvol5 on /home type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000005 on Thu Apr 27
04:47:26 2017
-hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu
Apr 27 04:48:05 2017
/dev/vg20/lvdepot on /vol20 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 on Thu Apr 27
09:44:31 2017
172.16.7.85:/ISO on /mnt type nfs rsize=32768,wsize=32768,NFSv3,dev=4000003 on Thu
Apr 27 09:50:18 2017
/dev/fspd1 on /iso_img type cdfs imagepath=/vol20/HPUX11.31_1.iso inode=4 residing
on blockdevice 0x40030001, ro,rr,dev=6000001 on Thu Apr 27 10:04:08 2017
/dev/vg08/demo on /oracle type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=80000001 on Tue May 9
10:00:16 2017
/dev/vg20/datavol on /data2 type vxfs
ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030002 on Wed May 10
10:23:21 2017
#

Vous aimerez peut-être aussi