05-27-2008
Quote:
Originally Posted by
andryk
Hi,
Have a look at ext2online's manpage, the name is ext2 but it works for ext3 as well... watch out & make backups though
Provided you still have enough free PE in your VG of course.
Hi..
Thanks for your reply..Im sorry for not being clear... but its not just the filesystem that i want to expand. I need to expand the PV since i have increased the size on the LUN, for example.... /dev/sdb is LUN1 on the SAN, originally its size is 100G so is the PV... now i want to increase the size of LUN1 to 200G and i want Linux to see the changes without a reboot. In the past i have rebooted and run pvresize /dev/sdb for LVM to see the changes made to the PV. So my question is.. is there a way to update PV size after changing the size on the LUN without a reboot?
Thanks in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
I have looked at the entire posting that have SAN in it and I'm still fuzzy on how SAN works. I understand that every disk array can be access from any server that needs it, but is there software that is install or NFS mount type situation. One post stated that if your format command... (7 Replies)
Discussion started by: larry
7 Replies
2. AIX
hi
We have 2 AIX nodes running with HACMP and all of them connected to SAN,
Our shared storage is shark; I need to create shared volume group and I need the HACMP take a ware of it.
Regards (1 Reply)
Discussion started by: h2aix
1 Replies
3. Solaris
Hi everyone,
I wonder if I can canvas any opinions or thoughts (good or bad) on SAN attaching a SUN V880/490 to an EMC Clarion SAN?
At the moment the 880 is using 12 internal FC-AL disks as a db server and seems to be doing a pretty good job. It is not I/O, CPU or Memory constrained and the... (2 Replies)
Discussion started by: si_linux
2 Replies
4. Filesystems, Disks and Memory
I'm setting up a CentOS 5 server that will be connected to an HP EVA4000. My previous experience is with an HP VA7400 and HP-UX. In HP-UX I can add "alternate paths" to a volume group in order to have redundant paths to the SAN via dual fiber channel HBAs just by either adding them with... (3 Replies)
Discussion started by: deckard
3 Replies
5. Filesystems, Disks and Memory
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
6. Filesystems, Disks and Memory
Hi All,
Storage team assigned same SAN disk on two servers
how to create same paritations from same SAN disk on two linux servers
may i know options & procedure. But here one server writing on SAN disk and another server reading other files from SAN disks
Thanks in advance (1 Reply)
Discussion started by: kurva
1 Replies
7. AIX
Has anyone tried SAN to SAN mirroring on IBM DS SAN Storage.
DS5020 mentions Enhanced Remote Mirror to multi-LUN applications
I wonder if Oracle High availibility can be setup using Remote Mirror option of SAN ? (1 Reply)
Discussion started by: filosophizer
1 Replies
8. Linux
Is there a command I can run on my HP /LINUX to see if uses SAN? This command work son AIX ls -al /DEV/rdsk however it does not work on HP Linux. Please let me know?
Thanks (4 Replies)
Discussion started by: mrn6430
4 Replies
9. AIX
Hi all,
We are migrating our SAN storage from HSV360 to 3PAR. The system runs aix 6.1 version with HACMP.
Please let me know what are requirements from OS side and how are the data copied to the new disks. (10 Replies)
Discussion started by: ElizabethPJ
10 Replies
10. Filesystems, Disks and Memory
hi! i got a rhel 6.3 host that already have an xfs filesystem mounted from a SAN (let's call it SAN-1) whose size is 9TB.
i will be receiving another SAN (let's call it SAN-2) storage of 15TB size. this new addition is physically on another SAN storage. SAN-1 is on a Pillar storage while the new... (6 Replies)
Discussion started by: rino19ny
6 Replies
LEARN ABOUT DEBIAN
pvresize
PVRESIZE(8) System Manager's Manual PVRESIZE(8)
NAME
pvresize - resize a disk or partition in use by LVM2
SYNOPSIS
pvresize [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [--setphysicalvolumesize size] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
OPTIONS
See lvm(8) for common options.
--setphysicalvolumesize size
Overrides the automatically-detected size of the PV. Use with care, or prior to reducing the physical size of the device.
EXAMPLES
Expand the PV on /dev/sda1 after enlarging the partition with fdisk:
pvresize /dev/sda1
Shrink the PV on /dev/sda1 prior to shrinking the partition with fdisk (ensure that the PV size is appropriate for your intended new parti-
tion size):
pvresize --setphysicalvolumesize 40G /dev/sda1
RESTRICTIONS
pvresize will refuse to shrink PhysicalVolume if it has allocated extents after where its new end would be. In the future, it should relo-
cate these elsewhere in the volume group if there is sufficient free space, like pvmove does.
pvresize won't currently work correctly on LVM1 volumes or PVs with extra metadata areas.
SEE ALSO
lvm(8), pvmove(8), lvresize(8), fdisk(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVRESIZE(8)