- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: How do I create the /dev/vg01 lvols ?
Disk Enclosures
1752605
Members
4979
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО07-01-2002 12:00 PM
тАО07-01-2002 12:00 PM
After restoring my /dev/vg01 volume group with a "vgscan", how do I actually see/create the lost files under /dev/vg01 ? For example, an "ll /dev/vg01" only shows the group and not any lvol's ?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 01:27 PM
тАО07-01-2002 01:27 PM
Solution
You are halfway home. vgscan's job is to update /etc/lvmtab and create the group device node. You now use vgimport to finish the job.
e.g. vgimport -v /dev/vg01 /dev/dsk/c1t5d0 /dev/dsk/c1t4d0 ...
Use the appropriate disk devices and list as many disks as make up vg01. That should create an lvoln and a rlvoln for each LVOL in the VG.
Man vgimport for details.
e.g. vgimport -v /dev/vg01 /dev/dsk/c1t5d0 /dev/dsk/c1t4d0 ...
Use the appropriate disk devices and list as many disks as make up vg01. That should create an lvoln and a rlvoln for each LVOL in the VG.
Man vgimport for details.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 01:53 PM
тАО07-01-2002 01:53 PM
Re: How do I create the /dev/vg01 lvols ?
vgimport states that the /dev/vg01 already exists in /etc/lvmtab. This is true since I ran vgscan prior to this.
How do I create the lvols in the /dev/vg01 directory ???
Thanks.
How do I create the lvols in the /dev/vg01 directory ???
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 02:48 PM
тАО07-01-2002 02:48 PM
Re: How do I create the /dev/vg01 lvols ?
HI Jay:
Let's start all over and get it right this time.
1) strings /etc/lvmtab and note the disks associated with vg01.
2) vgchange -a n /dev/vg01
3) ls -l /dev/vg01/group
Note the MINOR device number. e.g. 0x010000
4) Let's throw all the LVM node data away (this will not harm anything on the disks):
vgexport /dev/vg01
5) mkdir /dev/vg01
6) mknod /dev/vg01/group c 64 0x010000 (using the correct minor device number)
7) vgimport -v /dev/vg01/ /dev/dsk/c1t5d0 /dev/dsk/c1t4d0 (or whatever disks you listed using the above strings /etc/lvmtab command above.)
8) ls -l /dev/vg01 - you should now see all the LVOL device nodes
9) vgchange -a y /dev/vg01
The LVOL's should now be available for mounting filesystems.
Let's start all over and get it right this time.
1) strings /etc/lvmtab and note the disks associated with vg01.
2) vgchange -a n /dev/vg01
3) ls -l /dev/vg01/group
Note the MINOR device number. e.g. 0x010000
4) Let's throw all the LVM node data away (this will not harm anything on the disks):
vgexport /dev/vg01
5) mkdir /dev/vg01
6) mknod /dev/vg01/group c 64 0x010000 (using the correct minor device number)
7) vgimport -v /dev/vg01/ /dev/dsk/c1t5d0 /dev/dsk/c1t4d0 (or whatever disks you listed using the above strings /etc/lvmtab command above.)
8) ls -l /dev/vg01 - you should now see all the LVOL device nodes
9) vgchange -a y /dev/vg01
The LVOL's should now be available for mounting filesystems.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP