Make your own free website on Tripod.com

# mklv -ytest rootvg 4 hdisk0

test

# lsvg -l rootvg

rootvg:

LV

NAME

LPs

PPs

PVs

LV STATE

MOUNT POINT

hd5

boot

1

1

1

closed/syncd

N/A

hd6

paging

128

128

1

open/syncd

N/A

hd8

jfslog

1

1

1

open/syncd

N/A

hd4

jfs

9

9

1

open/syncd

/

hd2

jfs

228

228

1

open/syncd

/usr

hd9var

jfs

1

1

1

open/syncd

/var

hd3

jfs

29

29

2

open/syncd

/tmp

hd1

jfs

67

67

2

closed/syncd

/export/home

lv00

jfs

111

111

1

closed/syncd

/update

lv01

jfs

86

86

2

open/syncd

/opt

lv02

jfs

7

7

1

open/syncd

/home/users

zlv

60

60

1

1

closed/syncd

/cd

paging00

paging

4

4

1

closed/syncd

N/A

test

jfs

5

10

2

open/stale

/test

 

# syncvg -l test

# syncvg -l test

# lsvg -l rootvg

rootvg:

LV

NAMETYPE

LPs

PPs

PVs

LVSTATE

MOUNTPOINT

hd5

boot

1

1

1

closed/syncd

N/A

hd6

paging

128

128

1

open/syncd

N/A

hd8

jfslog

1

1

1

open/syncd

N/A

hd4

jfs

9

9

1

open/syncd

/

hd2

jfs

228

228

1

open/syncd

/usr

hd9var

jfs

1

1

1

open/syncd

/var

hd3

jfs

29

29

2

open/syncd

/tmp

hd1

jfs

67

67

2

closed/syncd

/export/home

lv00

jfs

111

111

1

closed/syncd

/update

lv01

jfs

86

86

2

open/syncd

/opt

lv02

jfs

7

7

1

open/syncd

/home/users

zlv

 

60

60

1

closed/syncd

/cd

paging00

paging

4

4

1

closed/syncd

N/A

test

jfs

5

10

2

open/syncd

/test

 

# df -k

Filesystem 1024-blocks Free %Used Iused %Iused Mounted on

/dev/hd4 73728 20012 73% 2235 7% /

/dev/hd2 1867776 305796 84% 45489 10% /usr

/dev/hd9var 8192 5532 33% 366 18% /var

/dev/hd3 237568 134332 44% 138 1% /tmp

/dev/lv01 704512 355576 50% 3829 3% /opt

/dev/lv02 57344 54296 6% 68 1% /home/users

/dev/test 40960 39636 4% 17 1% /test

 

 

# chfs -a size=+32000 /test

Filesystem size changed to 114688

# df -k

Filesystem 1024-blocks Free %Used Iused %Iused Mounted on

/dev/hd4 73728 20012 73% 2235 7% /

/dev/hd2 1867776 305796 84% 45489 10% /usr

/dev/hd9var 8192 5532 33% 366 18% /var

/dev/hd3 237568 134332 44% 138 1% /tmp

/dev/lv01 704512 355576 50% 3829 3% /opt

/dev/lv02 57344 54296 6% 68 1% /home/users

/dev/test 57344 55508 4% 17 1% /test

 

# lslv -m test

test:/test

LP PP1 PV1 PP2 PV2 PP3 PV3

0001 0102 hdisk1 0082 hdisk0

0002 0103 hdisk1 0083 hdisk0

0003 0104 hdisk1 0084 hdisk0

0004 0100 hdisk1 0243 hdisk0

0005 0101 hdisk1 0244 hdisk0

0006 0098 hdisk1 0245 hdisk0

0007 0099 hdisk1 0246 hdisk0

# rmlvcopy test 1 hdisk1

# lsls_ _v -m test

test:/test

LP PP1 PV1 PP2 PV2 PP3 PV3

0001 0082 hdisk0

0002 0083 hdisk0

0003 0084 hdisk0

0004 0243 hdisk0

0005 0244 hdisk0

0006 0245 hdisk0

0007 0246 hdisk0

 

# rmfs /test

rmfs: 0506-921 /test is currently mounted.

# umount /test

# rmfs /test

rmlv: Logical volume test is removed.

 

# df -k

Filesystem 1024-blocks Free %Used Iused %Iused Mounted on

/dev/hd4 73728 20012 73% 2233 7% /

/dev/hd2 1867776 305796 84% 45489 10% /usr

/dev/hd9var 8192 5532 33% 366 18% /var

/dev/hd3 237568 134332 44% 138 1% /tmp

/dev/lv01 704512 355572 50% 3829 3% /opt

/dev/lv02 57344 54296 6% 68 1% /home/users

 

# lsvg -l rootvg

rootvg:

LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT

hd5 boot 1 1 1 closed/syncd N/A

hd6 paging 128 128 1 open/syncd N/A

hd8 jfslog 1 1 1 open/syncd N/A

hd4 jfs 9 9 1 open/syncd /

hd2 jfs 228 228 1 open/syncd /usr

hd9var jfs 1 1 1 open/syncd /var

hd3 jfs 29 29 2 open/syncd /tmp

hd1 jfs 67 67 2 closed/syncd /export/home

lv00 jfs 111 111 1 closed/syncd /update

lv01 jfs 86 86 2 open/syncd /opt

lv02 jfs 7 7 1 open/syncd /home/users

zlv 60 60 1 closed/syncd /cd

paging00 paging 4 4 1 closed/syncd N/A

 

# lsps -a

Page Space Physical Volume Volume Group Size %Used Active Auto Type

paging00 hdisk0 rootvg 32MB 0 no no lv

hd6 hdisk0 rootvg 1024MB 1 yes yes lv

 

# lsvg -l rootvg

rootvg:

LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT

hd5 boot 1 1 1 closed/syncd N/A

hd6 paging 128 128 1 open/syncd N/A

hd8 jfslog 1 1 1 open/syncd N/A

hd4 jfs 9 9 1 open/syncd /

hd2 jfs 228 228 1 open/syncd /usr

hd9var jfs 1 1 1 open/syncd /var

hd3 jfs 29 29 2 open/syncd /tmp

hd1 jfs 67 67 2 closed/syncd /export/home

lv00 jfs 111 111 1 closed/syncd /update

lv01 jfs 86 86 2 open/syncd /opt

lv02 jfs 7 7 1 open/syncd /home/users

zlv 60 60 1 closed/syncd /cd

paging00 paging 4 4 1 closed/syncd N/A

test jfs 4 4 1 closed/syncd N/A

 

# lsdev -C

sys0 Available 00-00 System Object

sysplanar0 Available 00-00 CPU Planar

ioplanar0 Available 00-00 I/O Planar

bus0 Available 00-00 Microchannel Bus

sio0 Available 00-00 Standard I/O Planar

fda0 Available 00-00-0D Standard I/O Diskette Adapter

siokta0 Available 00-00-0K Keyboard/Tablet Adapter

sa0 Available 00-00-S1 Standard I/O Serial Port 1

sa1 Available 00-00-S2 Standard I/O Serial Port 2

scsi0 Available 00-00-0S Standard SCSI I/O Controller

scsi1 Available 00-06 SCSI I/O Controller

scsi2 Available 00-08 SCSI I/O Controller

rmt0 Available 00-00-0S-4,0 Other SCSI Tape Drive

cd0 Available 00-00-0S-6,0 Multimedia CD-ROM Drive

rmt1 Available 00-06-00-5,0 150 MB 1/4-Inch Tape Drive

hdisk0 Available 00-08-00-0,0 Other SCSI Disk Drive

hdisk1 Available 00-08-00-2,0 Other SCSI Disk Drive

proc0 Available 00-00 Processor

L2cache0 Available 00-00 L2 Cache

mem0 Available 00-0H 256 MB Memory Card

mem1 Available 00-0D 256 MB Memory Card

fd0 Available 00-00-0D-00 Diskette Drive

lvdd Available LVM Device Driver

tty0 Available 00-00-S1-00 Asynchronous Terminal

rootvg Defined Volume group

hd5 Defined Logical volume

hd6 Defined Logical volume

hd8 Defined Logical volume

hd4 Defined Logical volume

hd2 Defined Logical volume

hd9var Defined Logical volume

hd3 Defined Logical volume

hd1 Defined Logical volume

lv00 Defined Logical volume

lv01 Defined Logical volume

zlv Defined Logical volume

sysunit0 Available 00-00 System Unit

sioma0 Available 00-00-0M Mouse Adapter

ppa0 Available 00-00-0P Standard I/O Parallel Port Adapter

ent0 Available 00-02 Ethernet High-Performance LAN Adapter (8ef5)

ent1 Available 00-05 Ethernet High-Performance LAN Adapter (8ef5)

inet0 Available Internet Network Extension

en0 Available Standard Ethernet Network Interface

en1 Available Standard Ethernet Network Interface

et0 Defined IEEE 802.3 Ethernet Network Interface

et1 Defined IEEE 802.3 Ethernet Network Interface

lo0 Available Loopback Network Interface

pty0 Available Asynchronous Pseudo-Terminal

aio0 Defined Asynchronous I/O

tty1 Available 00-00-S2-00 Asynchronous Terminal

lp0 Available 00-00-0P-00 Other parallel printer

dlctoken Available Token-Ring Data Link Control

dlcsdlc Available SDLC Data Link Control

dlcqllc Available X.25 QLLC Data Link Control

dlcfddi Available FDDI Data Link Control

dlcether Available Standard Ethernet Data Link Control

dlc8023 Available IEEE Ethernet (802.3) Data Link Control

lv02 Defined Logical volume

iocp0 Defined I/O Completion Ports

ipsec_v4 Available IP Version 4 Security Extension

paging00 Available Logical volume

test Available Logical volume

 

# lsattr -El test

type jfs Type description True

label None Information label True

intra m Policy for allocation on physical volume True

copies 1 Number of physical partitions for each logical partition True

inter m Policy for allocation over multiple physical volumes True

relocatable y Bad block relocatable policy True

strictness y Copies allocation policy True

upperbound 32 Number of physical volumes to allocate across True

size 4 Number of logical partitions in logical volume True

lvserial_id 0020017751508231.14 Volume group identifier . minor number False

stripe_width 0 Striping Width True

stripe_size Stripe Size True

 

# lsattr -El rmt0

mode yes Use DEVICE BUFFERS during writes True

block_size 0 BLOCK size (0=variable length) True

extfm yes Use EXTENDED file marks True

res_support no RESERVE/RELEASE support True

var_block_size 0 BLOCK SIZE for variable length support True

density_set_1 0 DENSITY setting #1 True

density_set_2 0 DENSITY setting #2 True

delay 45 Set delay after a FAILED command True

rwtimeout 144 Set timeout for the READ or WRITE command True

ret_error no RETURN error on tape change or reset True