Sponsored Content
Operating Systems Linux Red Hat Grow LUN presented on Linux host Post 302524532 by cjcox on Monday 23rd of May 2011 03:05:49 PM
Old 05-23-2011
You'll need to resize the partition as well before doing the resize. The more flexible way of doing dynamic resizing is to use LVM instead of partitions (just an fyi). If you had used LVM, you could have added a new LUN space to a volume group (VG) and expanded the logical volume (LV) and done the filesystem resize without having to umount or reboot or anything...
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

VxVM disk/lun grow

hi, i have a volume on a LUN of an EMC-storage and i need to increase the size. i could increase the size of the LUN on the EMC, i could increase the size of the disk for solaris, but how can i tell the veritas volume manager that the disk is larger now? what i've done: 1. LUN on EMC 2.... (3 Replies)
Discussion started by: pressy
3 Replies

2. Solaris

Can't see Lun presented from T3B to Solaris8

Hello, I am having trouble with getting Lun visible to the solaris 8 host from the Array SUN T3B. It's SunFire 280R with Qlogic QLA2340 directly connected via 1 FC path to T3. On the array there is one 500GB volume created and mounted. I have tried with both F/w version of the array 2.1.6 and... (4 Replies)
Discussion started by: oktawik
4 Replies

3. Solaris

Making filesystem on presented lun

Hi, I am working on SunOS perlrate 5.10 Generic_127111-09 sun4v sparc SUNW,SPARC-Enterprise-T5120. The server has an LSISAS3801E HBA card installed and is connected to a StorageTek 2530 array. I have made a volume on arrary using Common Array Manager. I can see the volume on server: ... (2 Replies)
Discussion started by: seanban
2 Replies

4. Filesystems, Disks and Memory

Finding SAN Lun's on Linux.

Am trying to differentiate between the local disks and LUN's presented from SAN onto the server. Have Tried fdisk -l, however I quite cudn't differentiate the local disks from SAN presented LUN's. Can you pls. let me know the procedure and commands to find this. OS - RHEL 4 SAN - EMC... (3 Replies)
Discussion started by: Crazy_murli
3 Replies

5. AIX

Single command to change the attributes of all luns presented to an AIX host

Hi, I would like to know if there is a command similar to scsimgr in HP-UX that can help me change the algorithm and reserve_policy attributes of all luns presented to an AIX host. Otherwise I would have to use, chdev -l hdiskX -a algorithm=round_robin reserve_policy=no_reserve in a... (1 Reply)
Discussion started by: kanna_geekworkz
1 Replies

6. AIX

Any tips to grow iSCSI LUN

Hi, I have an iSCSI LUN attached to an AIX 5.3 box. It's initial size is 250GB, I just grew it on the SAN to 300GB, but AIX is not seeing the change. Right now I have some processes going and it's eating up the disk space. I need to grow this lun by atleast 30GB otherwise the process with bomb... (5 Replies)
Discussion started by: bbbngowc
5 Replies

7. UNIX for Advanced & Expert Users

Removing EMC LUN from Solaris 10 host without a reboot

I have seen a few threads / posts on the forum's but nothing specific to what Iam after. So Iam hoping you can help. Issue : Iam hoping to remove unused emc luns from my solaris servers , T2000 (5.10 Generic_142900-02). I have a list of the process I have followed for the removal of the luns.... (3 Replies)
Discussion started by: furby
3 Replies

8. Red Hat

adding LUN to linux server

Hi All, I am new for this blog and this is my first Query on this blog. I would like to dael with graet masters on linux. Here we go, After storage people created the LUN, How to add that LUN to Linux server. (Make that LUN visibility on linux server.) ? How to view the LUN... (5 Replies)
Discussion started by: abhay1983
5 Replies
E2FSADM(8)						      System Manager's Manual							E2FSADM(8)

NAME
e2fsadm - ext2 filesystem / LVM administration SYNOPSIS
e2fsadm [-d|--debug] [-h|--help] {[-l|--extents] [+|-]LogicalExtentsNumber|" [-L|--size] [+|-]LogicalVolumeSize[kKmMgGtT]} [-n|--nofsck] [-v|--verbose] [--version] LogicalVolumePath DESCRIPTION
e2fsadm allows resizing of a logical volume containing a mounted or unmounted ext2 filesystem. For unmounted filesystems it can extend the logical volume and grow the filesystem using resize2fs(8) or ext2resize(8), or shrink the filesystem and then reduce the logical volume afterwards. For mounted filesystems it can extend the logical volume and grow the filesystem using ext2online(8). OPTIONS -d, --debug Enables additional debugging output (if compiled with DEBUG). -h, --help Print a usage message on standard output and exit successfully. -l, --extents [+|-]LogicalExtentsNumber Resize the filesystem/logical volume to or by the number of logical extents. If you use + or - then the number will be relative the th current size of the logical volume, otherwise the volume will be resized to LogicalExtentsNumber extents. -L, --size [+|-]LogicalVolumeSize[kKmMgGtT] Resize the filesystem/logical volume to or by the given size. If you use + or - then the number will be relative the the current size of the logical volume, otherwise the volume will be resized to LogicalVolumeSize. A size suffix of K for kilobytes, M for megabytes, G for gigabytes or T for terabytes can be used. -n, --nofsck Avoid the filesystem check before the resize operation. A filesystem check is mandatory before resize2fs(8), but is optional for ext2resize(8), and is not allowed for ext2online(8) because the filesystem is mounted. Useful if a check has been done before starting e2fsadm. -t, --test Test run without real resizing. -v , --verbose Gives verbose runtime information about e2fsadm's activities. --version Print version number and exit successfully. DIAGNOSTICS
e2fsadm calls e2fsck(8), lvextend(8), lvreduce(8), and resize2fs(8), ext2resize(8), or ext2online(8) internally. By default, for mounted filesystems e2fsadm will look for resize2fs first, and failing that it will look for ext2resize. For mounted filesystems it will try to run ext2online. It returns an exit code of 0 for success or > 0 for error: 1 the filesystem size is invalid 2 the logical volume name is missing 3 the logical volume name is invalid 4 the logical volume doesn't exist 5 an error occured while reading the VGDA 6 an error occured while resizing the filesystem 7 /proc/mounts is not available 8 the filesystem is mounted 9 the filesystem type is not ext2 10 the e2fsck(8) command is missing or was not found 11 resize2fs(8) is missing or was not found 12 unable to run e2fsck(8) 13 unable to run resize2fs(8) 14 an error occured while reading the logical volume 15 logical volume size error 16 lvextend(8) is missing or was not found 17 unable to run lvextend(8) 18 lvreduce(8) is missing or was not found 19 unable to run lvreduce(8) 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line ENVIRONMENT VARIABLES
E2FSADM_RESIZE_CMD Command to call instead of resize2fs(8). E2FSADM_RESIZE_OPTS Options for the EXT2_RESIZE_CMD. E2FSADM_ONLINE_CMD Command to call instead of ext2online(8). E2FSADM_ONLINE_OPTS Options for the EXT2_ONLINE_CMD. SEE ALSO
lvm(8), lvcreate(8), lvextend(8), lvreduce(8), resize2fs(8), ext2resize(8), ext2online(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS E2FSADM(8)
All times are GMT -4. The time now is 03:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy