- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating a VG
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
05-30-2002 11:54 AM
05-30-2002 11:54 AM
Creating a VG
I just replaced 2 disks in c0t0d2 on LUN 2
I did a rebuilt and a consistency check and it is fine. Before, there were 3 directories in those disks. I do need to recreate or create VG07 with 3 directories:
/extern01
/extern02
/extern03
all on VG07 c0t0d2
How can I create a volume group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 12:05 PM
05-30-2002 12:05 PM
Re: Creating a VG
If you replaced a disk, have a look at the Technical Knowledge Base document #KBAN00000347. This document describes the various permutations for dealing with a disk replacement.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 12:12 PM
05-30-2002 12:12 PM
Re: Creating a VG
1) If yoy have replaced the disks which was part of a RAID array, then the restore procedure depends on the RAID level (RAID 5, 1 etc)
2) The directories are created on file systems level and not on VGs OR LVs OR device_file (disks)
3) If you just want to recreate VG information use this command:
# vgcfgrestore ( man vgxfgrestore for details)
4) If you want to create new VGs:
Use SAM OR
1) Make group special files
2) Make VG ( vgcreate)
3) Make LVs (lvcreate)
4) Make file systems (newfs)
5) Make mount points (mkdir /..)
6) Mount FS (mount)
7) Create directories you need ( mkdir)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 12:13 PM
05-30-2002 12:13 PM
Re: Creating a VG
But in any case, after replacing the bad drives, you should have done a vgcfgrestore on the disks and if they're mirrored, you should do a vgsync to synch up the mirrors. Otherwise, you'd have to restore the contents of those filesystem from backups.
Here are some docs that explains in greater detail:
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000060744801
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000060353705
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 12:15 PM
05-30-2002 12:15 PM
Re: Creating a VG
You can do a
# pvcreate /dev/rdsk/c0t0d2
# mkdir /dev/vg07
# mknod /dev/vg07/group c 64 0x070000
# vgcreate /dev/vg07 /dev/rdsk/c0t0d2
# lvcreate -L size /dev/vg07
# lvcreate -L size /dev/vg07
# lvcreate -L size /dev/vg07
Creates 3 logical volumes lvol1, lvol2 and lvol3
# newfs -F vxfs /dev/vg07/rlvol1
# newfs -F vxfs /dev/vg07/rlvol2
# newfs -F vxfs /dev/vg07/rlvol3
# mount /dev/vg07/lvol1 /extern01
# mount /dev/vg07/lvol2 /extern02
# mount /dev/vg07/lvol3 /extern03
You can modify your /etc/fsatb accrodingly
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 04:37 PM
05-30-2002 04:37 PM
Re: Creating a VG
When i try to access the directories i can see the file list but i cannot do a more or a cat on any file.
The VG07 is there i just need to update it or re-create it if you will.
so vgcfgrestore should do the work for c0t0d2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:40 PM
05-30-2002 05:40 PM
Re: Creating a VG
I find it strange that you can see the files but can't cat them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2002 12:18 AM
06-01-2002 12:18 AM
Re: Creating a VG
Data may be taken care (rebuild) by RAID it self, if it is raid level 1,1/0 or 5.
If the data is not intact, you may to restore your data from tape backup only.
--TT