08-25-2008
Quote:
Originally Posted by
FractalizeR
I heard something about ext2live patch for ext2, that allows unmounting to be done on them. Not sure about ext3.
ext3 is just ext2 with journal support. All one needs to do is remove the journal, resize, re-add the journal.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i am about to install oracle on my solaris x86-64
This installation require 4Gb space and i qish to do this installation on the directory
/u01/app/oracle
The following was my approch
mkdir -p /u01/app/oracle
i then use the command below to see if there is enough space
# df -h... (6 Replies)
Discussion started by: seyiisq
6 Replies
2. AIX
Hello I have a flesystem that has run out of space. I have tried using the following command to add space:
# chfs -a size=+100 /lsrc
I get the following error:
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough... (9 Replies)
Discussion started by: dkranes
9 Replies
3. HP-UX
Hello, I am trying to add space to my existing system and I need a little assistance determining if I have any disk space available to allocate. Here is what I have:
DISKS:
Class I H/W Path Driver S/W State H/W Type Description... (1 Reply)
Discussion started by: dkranes
1 Replies
4. Solaris
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)
Discussion started by: SmartAntz
11 Replies
5. Solaris
Is there a way to mount a filesystem from the global zone to the local zone without rebooting the local zone?
I'm using a lofs filesystem..
any help is appreciated! thanks.. (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies
6. Shell Programming and Scripting
I need some help with adding lines to file and substitute a pattern.
Ok I have a file:
#cat names.txt
name: John Doe
stationed: 1
name: Michael Sweets
stationed: 41
.
.
.
And would like to change it to:
name: John Doe
employed
permanently
stationed: 1-office (7 Replies)
Discussion started by: hemo21
7 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: kamranjalal
2 Replies
8. Solaris
Hi guys!
Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both.
I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys.
Thanks! (4 Replies)
Discussion started by: arah
4 Replies
9. AIX
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
10. UNIX for Beginners Questions & Answers
I have an array in an external file, "array.txt", which contains:
char *testarray={"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};I want to be able to add an element to this array, and have that element display, whenever I call it, without having to recompile... (29 Replies)
Discussion started by: ignatius
29 Replies
FSADM(8) FSADM(8)
NAME
fsadm - utility to resize or check filesystem on a device
SYNOPSIS
fsadm [options] check device
fsadm [options] resize device [new_size[BKMGTEP]]
DESCRIPTION
fsadm utility checks or resizes the filesystem on a device. It tries to use the same API for ext2, ext3, ext4, ReiserFS and XFS filesys-
tem.
OPTIONS
-e, --ext-offline
Unmount ext2/ext3/ext4 filesystem before doing resize.
-f, --force
Bypass some sanity checks.
-h, --help
Display the help text.
-n, --dry-run
Print commands without running them.
-v, --verbose
Be more verbose.
-y, --yes
Answer "yes" at any prompts.
new_size
Absolute number of filesystem blocks to be in the filesystem, or an absolute size using a suffix (in powers of 1024). If new_size
is not supplied, the whole device is used.
DIAGNOSTICS
On successful completion, the status code is 0. A status code of 2 indicates the operation was interrupted by the user. A status code of
3 indicates the requested check operation could not be performed because the filesystem is mounted and does not support an online fsck(8).
A status code of 1 is used for other failures.
EXAMPLES
Resize the filesystem on logical volume /dev/vg/test to 1000 megabytes. If /dev/vg/test contains ext2/ext3/ext4 filesystem it will be
unmounted prior the resize. All [y|n] questions will be answered 'y'.
fsadm -e -y resize /dev/vg/test 1000M
ENVIRONMENT VARIABLES
TMPDIR The temporary directory name for mount points. Defaults to "/tmp".
DM_DEV_DIR
The device directory name. Defaults to "/dev" and must be an absolute path.
SEE ALSO
lvm(8), lvresize(8), lvm.conf(5), fsck(8), tune2fs(8), resize2fs(8), reiserfstune(8), resize_reiserfs(8), xfs_info(8), xfs_growfs(8),
xfs_check(8)
Red Hat, Inc LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) FSADM(8)