- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgexport and fstab
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
Discussions
Discussions
Forums
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
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
тАО04-07-2004 01:46 PM
тАО04-07-2004 01:46 PM
I did an export on volume group vgraid creating the mapfile of vgraid.mapfile. Now I would like to set up a new volume group on a replacement disk with the same volume group name, logical name, and same mount point names..(in other words create a new group just like the one I just exported).....
In the fstab, it is still listing the mount points that I did with the export. How will this affect the allocation of the new volume group using the same names ??
thanks .. Jay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 02:23 PM
тАО04-07-2004 02:23 PM
SolutionThe entries in /etc/fstab is not going to effect you by any means if you can tolerate couple of error messages when the system is booting up or while issuing mount -a command.
# pvcreate /dev/rdsk/
# mkdir /dev/vgraid
# mknod /dev/vgraid/group c 64 0xAA0000
use the approriate minor number
# vgcreate /dev/vgraid /dev/dsk/
Create the logical volumes using lvcreate - if you have customized lv names then use the -n option with lvcreate or you can manually rename the logical volume device files in /dev/vgraid/
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 03:41 PM
тАО04-07-2004 03:41 PM
Re: vgexport and fstab
*) Vgexport and vgimport used for Exporting/Importing the VG.
*) If u want to create New VG on a replacement disk, you have to create only.
*) When u use minor number, while creating group file, enusure it is not used by any other VGs.
*) In vgraid how many hdd u have, if it is only one u can do pvmove, it makes entrie copy of PV.
*) fstab is doesnt matter. it is referred at that time of bootup, to mount fs automatically. (If u r creating same lvname/vgname u no need to worry the entries on fstab.)
Hope these inputs will help you
suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 06:51 PM
тАО04-07-2004 06:51 PM
Re: vgexport and fstab
This may help :
#pvcreate -f /dev/dsk/
#mkdir /dev/vgraid
#mknod group c 64 0x050000
(you should use and unused minor No. in this case i assume 0x050000 is unused)
#vgimport -v -m
#vgchange -a y /dev/vgraid
#mount -a
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 07:31 PM
тАО04-07-2004 07:31 PM
Re: vgexport and fstab
vgimport u can use, when u have LV and data on LV.
In a blank hdd, if u import VG by using -m option, certainly it will show error.
I dont think so, u can use vgimport for ur new replacement harddisk.
For replacement HDD, u have to use only vgcreate..... or pvmove
??
suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 07:57 PM
тАО04-07-2004 07:57 PM
Re: vgexport and fstab
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 06:05 PM
тАО04-08-2004 06:05 PM
Re: vgexport and fstab
vgcfgrestore -n vgname /dev/rdsk/c#t#d#