RESIZE_LFS(8) BSD System Manager's Manual RESIZE_LFS(8)NAME
resize_lfs -- resize a mounted log-structured filesystem
SYNOPSIS
resize_lfs [-v] [-s new-size] mounted-file-system
DESCRIPTION
resize_lfs grows or shrinks a mounted log-structured filesystem to the specified size. mounted-file-system is the name of the filesystem to
be resized, and new-size is the desired new filesystem size, in sectors. If new-size is not specified, resize_lfs will default to the cur-
rent size of the partition containing the filesystem in question.
When growing, the partition must be large enough to contain a filesystem of the specified size; when shrinking, resize_lfs must first
``clean'' the segments that will be invalid when the filesystem is shrunk. If this cleaning process results in these segments becoming
redirtied, this indicates that the given new size is not large enough to contain the existing filesystem data, and resize_lfs will return an
error.
EXAMPLES
To resize the file system mounted at /home to 32576 sectors:
resize_lfs -s 32576 /home
SEE ALSO fsck_lfs(8), lfs_cleanerd(8), newfs_lfs(8)HISTORY
The resize_lfs command first appeared in NetBSD 3.0.
AUTHORS
Konrad Schroder <perseant@NetBSD.org>
BUGS
resize_lfs should be able to resize an unmounted filesystem as well.
BSD September 4, 2006 BSD
In one of my scripts I do the following
sort +0 x > y
mv y x
In my script x and y are fully qualified. This works 99% of the time. However once in a while the system comes back and says that is cannot access y in the mv command.
I did some research and I suspect that if I insert a... (7 Replies)
How to find the free size currently FileSystem has, on the disk mounted?
I know 'df' lists all the mounted disks, but I am interested to know details
for the filesystem, in which currently I am working. (7 Replies)
Good morning folks!
I'm new here.. trying to find an answer on how to resize filesystem. Need to add some space to c0t0d0s5, /var... Is it possible at all?
JV (9 Replies)
Dear All,
I am working on AIX 5.2, and I have allocated 3072M disk space to /home filesystem. Now system has no free space at /home filesystem. But when I checked data on /home, I have only 900M data. Please if anybody can tell me about this difference and how this can be resolved.
Thank You.... (9 Replies)
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... (11 Replies)
Hi Guys,
probably a standard issue, so what do I miss here?
Error message:
> chfs -a size=-128M /export/nim/aix/5300-10
chfs: 0506-964 There is not enough free space to shrink the file system.
df shows 0.75GB free
> df -g .
Filesystem GB blocks Free %Used Iused %Iused... (7 Replies)
Hi all,
currently , my root filesystem already reach 90 ++%
I already add more cylinder in the root partition as below
Part Tag Flag Cylinders Size Blocks
0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300
1 swap wu 1 - ... (11 Replies)
Greetings,
I'm attempting to dump a filesystem from a RHEL5 Linux server to a VXFS filesystem on an HP-UX server. The VXFS filesystem is large file enabled and I've confirmed that I can copy/scp a file >2GB to the filesystem.
# fsadm -F vxfs /os_dumps
largefiles
# mkfs -F vxfs -m... (12 Replies)
Hi,
I have inherited a server that is experiencing a FS utilization issue.
The /home (below) is being utilized by the other mounted FS even though they belong to 2 different vg's.
/dev/mapper/VolGroup00-home_vol
3.9G 3.7G 0 100% /home
/dev/mapper/vg01-lvol0
394G 306G 68G 82%... (6 Replies)
Is it possible to resize a filesystem by resizing the LUN on RHEL 6.4 64-bit with LVM and no impact to running applications? The research I have done so far seems to take the approach of adding a new LUN and then expaning the volume group to the new LUN. I'm looking for an approach that avoids a... (7 Replies)
Hi
I am using oracle linux 6.4. My hard drive capacity is 500 GB. my filesystem size onbly 50GB. I would like to extend my filesystem size to around 100GB. I tried many codes but still I am not able.
this is the output of df -h :
Filesystem Size Used Avail Use% Mounted on... (6 Replies)
Hi All,
I want to check if one my log file is updating properly, how can I achieve it.
The approach I am trying is to get the file size at two different interval and than comparing it eg :
$ ls -ltr | tail -1 | awk '{print $5}'
20480 (7 Replies)
Hi Guys
We have a VM machine, now I want to increase the size of the filesystem.
We are running RHEL6 O/S.
I have filesystem that is 500GB I want to increase that filesystem to 1.5 TB.
The guy who manages the VM increased the size on the VM machine, now how do I make sure that the... (7 Replies)