jfs2 - cannot shrink filesystem


 
Thread Tools Search this Thread
Operating Systems AIX jfs2 - cannot shrink filesystem
# 8  
Old 03-11-2009
Hello,

I changed the policy to minimum today but still the same - I cannot shrink and it coredumps when extending.

Looks like I really have to clean and drop ... 4.5 TB - yeah - will take a while Smilie

Thanks for your help
rgds
zxmaus
# 9  
Old 03-12-2009
I've had simular issues when attempting to shrink a filesystem. I am far from a guru but I found sometimes I don't have enough room to shrink of that makes any since. So instead of shrinking by large numbers I went to small and stepped my way up. I reduced by 1G then 2 then More gig... It compounded pretty quick.

I would test my simplistic theory by tring to shrink by One Gig and see what you get.
# 10  
Old 03-12-2009
thats what I tried already - but it doesnt even give a single pp away Smilie

Rgds
zxmaus
# 11  
Old 03-31-2009
Remember that "defragfs" does NOT mean "defrag filesystem". Rather it means "defrag free space". This info came to me from the mouth of one of the AIX developers at the AIX Technical University this past year.

I've run into this same problem numerous times. I'll have 3 gig free in a filesystem and try to shrink it down by 1 gig to assign some place else. It then spits out those errors saying it can't shrink it.

The problem is that the data is too spread out physically on the disk. The only way you can reduce the size of an JFS2 filesystem that won't shrink, that I know of, is to create another filesystem big enough to hold all the data, copy it over, shrink the original JFS2 filesystem (or even recreate it if you have to), and then copy the data back over to it.

The "fs" in "defragfs" is so misleading.
# 12  
Old 04-02-2009
I have meanwhile removed my filesystems - and identified the rootcause - apparently the magical limit seems to be the 2 TB filesystem size - once you pass this size you can still extend but no more reduce the filesystem size - no matter how many free pps or even disks you have. reorg and defrag don't help and even freeing up whole disks doesnt make anything any better.
IBM is aware about this problem but doesnt have a solution - their comment - nothing we can do ...
Rgds
zxmaus
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