- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: AutoRAID rebuild/LVM
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
тАО10-23-2000 01:18 PM
тАО10-23-2000 01:18 PM
AutoRAID rebuild/LVM
1) lvremove all but 1 of the volumes in each of 2 volume groups there.
2) vgreduce specifying the last remaining logical volume.
3) vgremove the volume group.
And here's where I am not certain:
4) pvremove(?) the physical volumes to destroy the PVRA? (in order to avoid some of the other issues documented in this forum).
If these steps are accurate, I should be able to carve up LUNS, create physical volumes, volume groups, then logical volumes, and restore the data, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2000 01:41 PM
тАО10-23-2000 01:41 PM
Re: AutoRAID rebuild/LVM
i would do:
1) vgexport vgXX
2) arraycfg -d -L
-------------------------
Now create new LUN's with arraycfg.
pvcreate -f
mkdir /dev/vgXX
mknod /dev/vgXX/group c 64 0xXX0000
vgcreate vgXX
lvcreate vgXX ...
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2000 01:47 PM
тАО10-23-2000 01:47 PM
Re: AutoRAID rebuild/LVM
Give that you want to start from scratch, and you have copied your data somewhere where it can be restored, do:
1. Unmount ('umount') each filesystem associated with a logical volume in quesstion and 'lvremove' all of the logical volumes that make up the volume group.
2. Remove all but one physical volume belonging to the volume group with 'vgreduce'.
3. 'vgremove' the volume group.
4. 'pvcreate', 'vgcreate' and 'lvcreate' appropriately.
See the man pages for each command mentioned above. They contain some good examples and guidelines.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2000 01:49 PM
тАО10-23-2000 01:49 PM
Re: AutoRAID rebuild/LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2000 10:34 PM
тАО10-23-2000 10:34 PM
Re: AutoRAID rebuild/LVM
after removing all lvols and vgs you could do a rmsf -H
The hardware_path can be obtained by ioscan -fnC disk
(I don't think you have to do this because when you create new LUNS you will have back the same devices)
After that remove the LUNS with:
arraycfg -L
OR
reformat the AutoRAID (goes quicker):
arrayfmt -F
Now your AutoRAID is completely scratched.
Start with creating new LUNS with SAM or
arraycfg -L -a
Regards