- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- deleting a Volume group and logical volumen mounte...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:08 PM
08-01-2005 02:08 PM
Finally I can delete it but when I try configure it again send me a message like that the u00 that was the previous mount point exist.
I want the same mount point name , how can I do to create this,
When the mount point is solved these will be my step to follow.
create the volume group
create the logical volumen and the mount point .
More comment will be welcome .
Thank you
W:S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:13 PM
08-01-2005 02:13 PM
Solutionhere are the steps that might be of consideration:
1. Check the volumegroup for existence in the lvmtab
# strings /etc/lvmtab | grep u00
2. Then check for the existence of the group file for the volumegroup
#ll /dev/vg_name/*
if you find something you can get rid by doing a
# vgexport vg_name
after the cleanup you can rebuild the volumegroup and mount it up again. If you need more on this, please let us know
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:22 PM
08-01-2005 02:22 PM
Re: deleting a Volume group and logical volumen mounted in u00
check the /etc/fstab, remove the old one for u00 if it exist.
GOOD LUCK!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:54 PM
08-01-2005 02:54 PM
Re: deleting a Volume group and logical volumen mounted in u00
Can you give us the previous volume group name, lvol name and its mount point?
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 03:23 PM
08-01-2005 03:23 PM
Re: deleting a Volume group and logical volumen mounted in u00
do not use SAM. try command line interface.
if you can: comment out the Mount-Point in the /etc/fstab and then ok, Reboot your system.
This way, it is not being used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 04:00 PM
08-01-2005 04:00 PM
Re: deleting a Volume group and logical volumen mounted in u00
vgdisplay -v /dev/vgyouroldvolumegroup | more
Note if there are any logical volumes left
lvremove unwanted logical volumes
vgreduce command to remove disks out of exists vg till there is only one left
Then you can use vgremove
Clean up your /etc/fstab
Create the new VG
mkdir /dev/vgwhateveryoulike
mknod c 64 0x00000 Some free number basically make sure the number of digits after 0x match
ls -la /dev/vg* | grep -i 0x # see whats free
pvcreate your disks
vgcreate your volume group read the man on this and set the maximum number of disks to something higher than 16 :)
vgextend in any additional disks you need in the vg
lvcreate -L -I -i your volume groups Use the I's for striping if you have more than one disk.
Mirror your freakin disks so it doesnt rain on your parade :). Unles you are already raided by something like a san so your data is safe.
mkdir /dev/vg#1
mknod /dev/vg#1/group c 64 0x010000
# note 0x010000 must be unique to your volume group
This demonstrates 3 disks in VG
pvcreate /dev/rdsk/c#t#d#
pvcreate /dev/rdsk/c#t#d#
pvcreate /dev/rdsk/c#t#d#
vgcreate /dev/vg#1 /dev/rdsk/c#t#d# /dev/rdsk/c#t#d# /dev/rdsk/c#t#d#
lvcreate -L 24000 -i 3 -I 1024 -n
#24000 meg volume with 3 disk stripe ;) and 1024 is the stripe size
datavol /dev/vg#1
newfs -F vxfs -o largefiles /dev/vg#1/datavol
edit fstab
mount the disk
Of course substitute with your disk device or devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2005 07:29 AM
08-02-2005 07:29 AM
Re: deleting a Volume group and logical volumen mounted in u00
My VG is this one
#vgdisplay /dev/oradata
--- Volume groups ---
VG Name /dev/oradata
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 5
Act PV 5
Max PE per PV 17365
VGDA 10
PE Size (Mbytes) 4
Total PE 86810
Alloc PE 0
Free PE 86810
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
The customer want only a logical volume with the total VG space.
When I do the following command send me this message , some idea?
# lvcreate -L 347220 /dev/oradata
lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize
of the Volume Group. Resulting number of extents is out of the range
1 to 65535 (86805).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2005 07:43 AM
08-02-2005 07:43 AM
Re: deleting a Volume group and logical volumen mounted in u00
You need to recreate the VG with a little bigger PE size. Atleast take 8MB or 16MB as PE size while recreating the VG and the error should go.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2005 08:34 AM
08-02-2005 08:34 AM
Re: deleting a Volume group and logical volumen mounted in u00
is the most
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2005 09:36 AM
08-02-2005 09:36 AM
Re: deleting a Volume group and logical volumen mounted in u00
Delete the created VG and creare again it with a large PE.
Thank you
W.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2005 10:33 AM
08-02-2005 10:33 AM
Re: deleting a Volume group and logical volumen mounted in u00
Find out the 5 disks on which this volume group is spread by
#strings /etc/lvmtab
Then
#vgexport /dev/oradata
( To remove the information related to this VG to be removed from /etc/lvmtab. Confirm by "strings /etc/lvmtab" and the VG should not be listed)
#pvcreate -f /dev/dsk/cxtydz
Repeat for all five volumes.
#mkdir /dev/oradata
#cd /dev/oradata
#mknod group c 64 0x0?0000
( Where ? is the unique no. confirm by "ls -l /dev/*/group)
#vgcreate -s 16 -e 12000 /dev/oradata /dev/dsk/cx1ty1dz1 /dev/dsk/cx2ty2dz2 .... (Write all 5)
#lvcreate -L 347220 /dev/oradata
#newfs -F vxfs -o largefiles /dev/oradata/lvol1
Then also make entry in /etc/fstab for auto mounting.
HTH,
Devender