jfs2 - cannot shrink filesystem


 
Thread Tools Search this Thread
Operating Systems AIX jfs2 - cannot shrink filesystem
# 1  
Old 03-10-2009
jfs2 - cannot shrink filesystem

Hi,
is anyone aware about filesystem size restrictions on AIX? And does anyone know a solution for below problem?

I have 2 boxes attached to EMC Raid5 storage, both have huge /optware/oracle/oradata filesystems - 4.5 and 2.5 TB in size, nothing is striped or in any other way restricted. Due to system optimization, I migrated off a couple of databases - now I have about 2 TB free space in the 4.5 TB filesystem and more than 1 TB in the other one - which I would like to reclaim for reusage somewhere else - but I cannot reduce the filesystem sizes by any amount of space. When I issue the command, it never finishes - its not erroring out, its just running without doing anything. Extending the filesystems still works - though it coredumps but the size at least changes. But reducing doesnt work at all.

Does anybody know another solution for me than migrating off the remains and just dropping the filesystems?

I raised this already with EMC and IBM but both did not come back with any solution other than drop and recreate - and I'd like to avoid re-occurrence on other systems hence the restriction question.

Thanks and regards
zxmaus
# 2  
Old 03-10-2009
Didn't had that problem yet - though if IBM and EMC recommend dropping and create anew to be on the safe side, I would do that too even it might be a lot of work.
Is the VG where these FS'es reside of type Scalable?
# 3  
Old 03-10-2009
yes the VGs are scalable - 185 luns 33 GB each in both VGs - filesystems are spread across max - so parts of them are on all 185 luns ... 2 different servers, similar setup - AIX 5.3 TL7 SP5 (but we had the problem already running TL5) - other filesystems (smaller ones) in the same VG don't face this issue. Interesting maybe that commands like fileplace do fail on the huge filesystems too, but work properly in the smaller ones...

Rgds
zxmaus
# 4  
Old 03-10-2009
Can you run defragfs on the filesystems in question?
# 5  
Old 03-10-2009
yes I can - it takes about 20 min to come back but it comes back - unfortunately it doesnt fix the problem

Rgds
Nicki
# 6  
Old 03-10-2009
Another thought: You said, that you use an inter policy of maximum spreading the LV over 185 LUNs thus. Try to change the policy back to minumum and then try to reduce size again. This is worth a try as the inter policy seems to influence allocp considerably.


(Depending on your SAN you might not need to use an inter policy of maximum if you spread your LUNs evenly over many disks already.E.g. if you spread a number of LUNs over the same rank/shelve/whatever the LV on those LUNs utilise all physical disks already. Hence no need to add another layer of complexity for data distribution. It might even be that I/O speeds up if you spare LVM from doing this extra work.)
# 7  
Old 03-10-2009
sounds reasonable - I will try tomorrow and let you know Smilie

Many thanks and kind regards
Nicki
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

[ASK] decrease/shrink the size of filesystem

Hello, I would like to reduce the size of filesystem online. We can do online for increase without any problem. So any risk can be occurred with the decrease? This is not an issue, just a discussion for decrease/shrink space with chfs command. My AIX system is version 6.1 and the filesystem... (2 Replies)
Discussion started by: Phat
2 Replies

2. Red Hat

Shrink ext4 filesystem and reduce the size of a Logical Volume in Linux

Hello guys, I would like to ask you kindly if you don't know some quick and safe method how to shrink ext4 filesystem and reduce the size of a Logical Volume in Linux, please? Thank you very much. (2 Replies)
Discussion started by: los_bandidos
2 Replies

3. AIX

Shrink Volume in V7000

When we shrink one of the volume in our IBM Storwize V7000, upto 100GB its shrinks well on storage but the shrink space was not reflected on the volume group, it still shows the same space that it has before shrinking. Should I have to export/import the volume group. (10 Replies)
Discussion started by: m_raheelahmed
10 Replies

4. AIX

AIX JFS2 content

Hello! I have a LPAR with 51GB RAM topas shows 21% of memory for client pages (~11Gb) svmon -G show 2906772 client pages in use (~11Gb) but then i try to investigate per process client memory usage svmon -P -O filtertype=client and summarize inuse column, i get only 347880 pages... (1 Reply)
Discussion started by: sys
1 Replies

5. UNIX for Advanced & Expert Users

Shrink my partition to new disk

I want to backup my partitions by shrinking it my issue is like I want to create a new disk copy from only the used blocks I my current image. How would I redirect the output of resize2fs to new disk and dd the current partition so that I can boot my new image without issues and also without... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies

6. AIX

Jfs and jfs2

Hi all, Can anyone define the difference between jfs and jfs2 filesystem as well as usage of jfs log files.... Thanks.... (7 Replies)
Discussion started by: sumathi.k
7 Replies

7. AIX

(URGENT) Mounting JFS2 FileSystem on AIX 4.3

Hi Every body, I created Volume Group & FileSystem of type JFS2 with size 1.3 TB on AIX 5.2. I want to import this VG on another system AIX 4.3. It is imported successfully & I can varyon the VG but unfourtantly I couldn't mount the FileSystem. Is it possible to mount a JFS2 FileSystem on AIX... (3 Replies)
Discussion started by: aldowsary
3 Replies

8. UNIX for Dummies Questions & Answers

Why does UNIX kernel does not shrink?

Hello this is a book problem of chapter 8 william stallings's operating systems..can anyone tells me the accurate solution of it?? The Unix kernel will dynamicaly grow a process's stack in virtual memory as needed, but it willnever try to shrink it. Consider the case in which a program calls a C... (7 Replies)
Discussion started by: dillidamunda
7 Replies

9. AIX

JFS and JFS2

hi all, can sumbody give me a link which gives the basic layout of JFS, JFS2 and the veritas file system. and i also want to know about the data structures used in this filsystem thanx in advance (0 Replies)
Discussion started by: anwerreyaz
0 Replies

10. Solaris

How To Shrink /Tmp

Hi, Do you know if we can shrink the size of the Swap under Solaris 8 ? 8Gb is already allocated to /TMP but we would like to reduce to 1 GB. Thanks, Fabien. (2 Replies)
Discussion started by: unclefab
2 Replies
Login or Register to Ask a Question