I've created some logical volumes on a non-production server. I was supposed to make the new LV's similar to another LV already on the server. Supposed to be the similar to lvol5
I did everything right except one thing as somebody mentioned. I would like to figure out what I did wrong but I can't see it.
I was supposed to create 3 LV's on root: /scratch1 /scratch2 and /scratch3.
I just started working with LVM after taking HP classes at work so I'm really new at this.
This is my FS right now...
The output of the VG in question:
The only thing I see is that the LE's and PE's are not the same.
Your lvol 5 has 1 mirror copy
So if you also want have some for your lv, you need to add some with the lvextend command with the -m 1 option and specifying your lv and a relevant disk location. Then the allocated Physical Extend (PE) will be twice your Logical Extend (LE) such as it is for your lvol5
Some additionnal command you may want to read about further, or for checking the correct syntax to use:
... and i am sure i forget some others
If you have 1 logical volume of 100 logical extend spread over 100 Physical extend of Disk1
If you make a mirror of those 100 Physical Extend that are on Disk1 , on an additionnal Disk2
You will still have 1 logical volume of 100 Logical Extend, but that will use a total of 200 Physical extends since 100 are on Disk1 and 100 mirrored on Disk2
The 100 Physical Extends of Disk2 are used for mirror/copy of the 100 PE that are on Disk1 , they are NOT additional space available for new LE .
Hello,
I need some help, it is slightly urgent so any help is appreciated.
We were doing a data migration, during a migratepv command, our SAN ran out of quota space and locked all of the filesystems, now I'm left with a few errors and am not able to do migratepv again.
/:migratepv... (2 Replies)
Hi
I am getting the following error while executing any command related to LVM -
# vgs
vgs: symbol lookup error: vgs: undefined symbol: pvcreate
Can any one please advise how to get rid of this problem?
Thanks (6 Replies)
Hi
How do you configure LVM to linux? How to create logic volume using LVM?
On a new VM system, just install RHEL 5.8 gave 200 gig for / and 10 gig for swap.
Now I want to configure LVM? is that too late, do I need to delete and start all over again ? (1 Reply)
i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg
at the end i get error in mail that:
At least one partition mirror is broken please call sysadmin
hd5 boot 1 2 2 closed/stale N/A
the other fs seems ok and sync
what to do about the hd5??? (4 Replies)
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Hi All,
I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash).
I was able to create it smoothly with this instructions.
lvcreate -L 1G uservg -n xxx-yyy
ls /dev/uservg/xxx-yyy (check)
mkfs.ext3 /dev/uservg/xxx-yyy
mount... (1 Reply)
Having first encountered LVM in HP-UX and now experimenting with it in Redhat and Gentoo, I am wondering, when is it actually good practice to use LVM? Obviously LVM doesn't work for boot partitions, so that question is a pretty easy answer: Not for /boot in Linux.
While trying to figure out... (1 Reply)