Then add the device to the LDOM as follows;
Once the device is visible in the LDOM, use the good old format and mkfs or newfs commands as you would in a standalone machine. You'll have to be in the LDOM as the root user.
I need to create a simple shell script to check filesystems space in a file system called "/arch_nb" then based on the percentage use either run another script or exit.
I was thinking of something simple along the lines of:
df -k | then some action to pipe for percentage used
...place... (10 Replies)
Hi everybody,
Is it possible to create a Shared Filesystem on Network to be accessed from 2 Systems?
Both systems are AIX but with different versions. One of these systems is AIX 4.3 & the other is AIX 5.2.
Thanks in advanced (8 Replies)
Hello - I am finding difficulty in creating and allocating correct size to File Systems on solarix x86 box. Please see below contents I followed on screen and in the end It shows that /app file system is created of size 135GB , I wanted it to be 30gb as mentioned during 'format' command in 'Enter... (7 Replies)
Hi all,
I would like to ask on how to create 2MB partition on a Compact Flash card. It supposed to be of FAT12 type, and the CF capacity is 4GB. I try to do the partitioning and specify the size as 2MB but the partition editor automatically resize it to 8MB. I know that this is possible and the... (4 Replies)
I'm new to linux and need information on how do I create a filesytem on a dedicated on LUN for RHEL 4 and 5? I want the filesystem to be a ext3
---------- Post updated at 10:00 AM ---------- Previous update was at 08:56 AM ----------
Found the answer. This thread can be closed. (1 Reply)
I created a new filesystem using dd and mounted:
I have a filesystem /FAW with 1Terra space
/dev/sdb1 1151331444 24742604 1068104612 3% /FAW
Steps I followed to create a new filesystem
# dd if=/dev/zero of=/FAW/vms/linux_vm/disk2.img bs=1 count=1024 seek=500G
# mke2fs... (10 Replies)
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Hi experts,
Need help on the below error please.
I am creating Filesystem and it fails with the below errors :(
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
0518-506 odmget: Cannot open object class PdAt
... (10 Replies)
Hello Team,
In a application filesystem, there is a process keep creating the log files. Due to that the filesystem keep getting full. Please let me know how to identify the process which is keep writing in the filesystem.
fuser -u <FS> will show only the user who using the filesystem.... (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
LEARN ABOUT CENTOS
gfs2_grow
gfs2_grow(8) System Manager's Manual gfs2_grow(8)NAME
gfs2_grow - Expand a GFS2 filesystem
SYNOPSIS
gfs2_grow [OPTION]... <DEVICE|MOUNTPOINT>...
DESCRIPTION
gfs2_grow is used to expand a GFS2 filesystem after the device upon which the filesystem resides has also been expanded. By running
gfs2_grow on a GFS2 filesystem, you are requesting that any spare space between the current end of the filesystem and the end of the device
is filled with a newly initialized GFS2 filesystem extension. When this operation is complete, the resource group index for the filesystem
is updated so that all nodes in the cluster can use the extra storage space that has been added.
You may only run gfs2_grow on a mounted filesystem; expansion of unmounted filesystems is not supported. You only need to run gfs2_grow on
one node in the cluster. All the other nodes will see the expansion has occurred and automatically start to use the newly available space.
You must be superuser to execute gfs2_grow. The gfs2_grow tool tries to prevent you from corrupting your filesystem by checking as many of
the likely problems as it can. When expanding a filesystem, only the last step of updating the resource index affects the currently
mounted filesystem and so failure part way through the expansion process should leave your filesystem in its original unexpanded state.
You can run gfs2_grow with the -T flag to get a display of the current state of a mounted GFS2 filesystem.
The gfs2_grow tool uses the resource group (RG) size that was originally calculated when mkfs.gfs2 was done. This allows tools like
fsck.gfs2 to better ensure the integrity of the file system. Since the new free space often does not lie on even boundaries based on that
RG size, there may be some unused space on the device after gfs2_grow is run.
OPTIONS -D Print out debugging information about the filesystem layout.
-h Prints out a short usage message and exits.
-q Be quiet. Don't print anything.
-T Test. Do all calculations, but do not write any data to the disk and do not expand the filesystem. This is used to discover what the
tool would have done were it run without this flag.
-V Version. Print out version information, then exit.
BUGS
There is no way to shrink a GFS2 filesystem.
SEE ALSO mkfs.gfs2(8)gfs2_jadd(8)gfs2_grow(8)