- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG Question
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
06-18-2002 09:50 AM
06-18-2002 09:50 AM
Re: VG Question
List the following
ll /dev/vg*/group and check whether the vg07 dir existes or not or the group file exists or not.
You can create another vg08 if not present with the same above commands.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 09:58 AM
06-18-2002 09:58 AM
Re: VG Question
Sorry... but i am new to all this ...so:
root@apache:/dev#>lvcreate -L 1500000 /dev/vg07
Logical volume "/dev/vg07/lvol2" has been successfully created with
character device "/dev/vg07/rlvol2".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/vg07/lvol2" could not be extended.
Run the "lvextend" command to create space on the Logical Volume.
root@apache:/dev#>
the 1500000 is for 1.5 GB
..the diskinfo....
root@apache:/dev#>diskinfo /dev/rdsk/c0t0d2
SCSI describe of /dev/rdsk/c0t0d2:
vendor: MTI
product id: 3200 B02
type: direct access
size: 17782784 Kbytes
bytes per sector: 512
root@apache:/dev#>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:00 AM
06-18-2002 10:00 AM
Re: VG Question
The -L specifies MB
Use -L 1500 for 1.5 Gb
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:01 AM
06-18-2002 10:01 AM
Re: VG Question
run vgdisplay -v vg07, see how much free PE's you've got,
then run lvcreate -l
Tal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:03 AM
06-18-2002 10:03 AM
Re: VG Question
# lvcreate -L 1500 /dev/vg07
if you want a 1.5GB logical volume.
You need to do some cleanup now that you probably got lvol2 created by with "zero" size. Do ..
# vgdisplay -v vg07 | more
look at all of your LVs. My guess is now you got lvol2 in 0 size you would need to remove it first before you re-create it with the above command. To remove the LV ..
# lvremove /dev/vg07/lvol2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:26 AM
06-18-2002 10:26 AM
Re: VG Question
root@apache:/dev#>mount /dev/vg07/lvol1/extern01
mount: /dev/vg07/lvol1/extern01 was either ignored or not found in /etc/fstab
root@apache:/dev#>
The entries on the fstab are:
/dev/vg07/lvol1 /extern01 hfs rw,suid 0 2
/dev/vg07/lvol2 /extern02 hfs rw,suid 0 2
/dev/vg07/lvol3 /extern03 hfs rw,suid 0 2
Do I need to delete this entries or edit it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:34 AM
06-18-2002 10:34 AM
Re: VG Question
# mount -a ( mounts all valid FS from fstab)
# mount /dev/vg07/lvol1 /extern01 ( you need to give space between the two parameters. Remember to create mount points before issuing this commdand- mkdir)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:36 AM
06-18-2002 10:36 AM
Re: VG Question
You need a space between the LV structure & the mount point.
mount /dev/vgxx/lvolxx /mnt_point
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:40 AM
06-18-2002 10:40 AM
Re: VG Question
# newfs -F vxfs /dev/vg07/lvol1
then your entry in /etc/fstab should look like this ..
/dev/vg07/lvol1 /extern01 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
After you edit the entries simply run ..
# mount -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:42 AM
06-18-2002 10:42 AM
Re: VG Question
problem solve :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:51 AM
06-18-2002 10:51 AM
Re: VG Question
Glad we could help :^)
Got quite the LVM lesson there, didn't you?
Not quite as intimidating now is it?
Have a great day!
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 10:54 AM
06-18-2002 10:54 AM
Re: VG Question
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 12:04 PM
06-18-2002 12:04 PM
Re: VG Question
The only way to change things is to backup the data, delete the logical volumes and the volume group, then re-create the volume group with the new values(then re-create the LVs and restore the data).
Marty
- « Previous
-
- 1
- 2
- Next »