Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Increasing a filesystem 1

Status
Not open for further replies.

KenCunningham

Technical User
Mar 20, 2001
8,475
0
0
GB
Good morning and compliments of the Season. Being a long-time Solaris admin I'm having a bit of trouble getting my head around the way in which filesystems work in AIX (5.2). I have a p650 with a 10 Gb /dev/trainlv which I would like to delete and add the resulting space to /dev/live01lv. I wasn't involved in setting these filesystems up but there seems little point in maintaining a filesystem (trainlv) which isn't used whilst another (live01lv) is at 97% capacity. To my knowledge both filesystems are mirrored.

Could someone please give me an idea where to start in blowing away the trainlv and adding this to live01lv. TIA.
 
Main question, those LVs are in the same VG?
 
sbix - thanks for your response - yes, both are in the datavg VG.
 
well:
smitty fs and destroy the filesystem built on /dev/trainlv.
This will automatically destroy also /dev/trainlv and will return its partition to the VG.
Now you can increase the filesystem based on /dev/livelv01, by issuing smitty fs and increasing his size by typing a "+number_of_512_bytes_blocks_you_wish_to_add"

Hope to be useful
Merry XMAS
 
.... I wasn't sufficently clear ...
By typing typing a "+number_of_512_bytes_blocks_you_wish_to_add" in the SIZE field.
You have first to select "Add/Change/Show" menu then the "Journaled File System" menu then "Change/Show ... of a filesystem" function
 
sbix, thanks again. A star for your Christmas tree! Have a good one.
 
This will help.

if you do a smitty chfs and select the journaled filesystem you want to increase, inside the "size of the file system (in 512-byte blocks)" you can just place a + and a number of the size that you want to increase it to.

I.E.
SIZE of the file system (in 512-byte blocks)[+20480]
(this adds 10meg to the file system)

here is the chart I use.

MEGBYTE SIZE AIX FS SIZE(put + in front of number)
5 meg = 10240
10 meg = 20480
20 meg = 40960
25 meg = 51200
30 meg = 61440
40 meg = 81920
50 meg = 102400
60 meg = 122880
70 meg = 143360
80 meg = 163840
90 meg = 184320
100 meg = 204800
150 meg = 307200
200 meg = 409600
250 meg = 512000
500 meg = 1024000
700 meg = 1433600
1000 meg = 2048000



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top