- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can I use dgcfgrestore command?
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 03:03 AM
06-18-2002 03:03 AM
how can I use dgcfgrestore command?
I would like to know how to use the dgcfgrestore command (VERITAS).
I know how to use vgcfgrestore in LVM, is it quite the same?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 03:12 AM
06-18-2002 03:12 AM
Re: how can I use dgcfgrestore command?
man dgcfgrestore --- note the title.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 03:20 AM
06-18-2002 03:20 AM
Re: how can I use dgcfgrestore command?
The dgcfgrestore command may be used to restore configuration data to
a disk making up a single-disk disk group or a disk in a multi-disk
disk group in which all other disks have no copy of the configuration
data.
dgcfgrestore is not designed to work if the disk being restored
belongs to a multi-disk disk group and at least one of the other disks
in the group is online and contains configuration data. For those
cases, simply adding the new disk to the disk group will result in the
configuration data being copied to the new disk.
It appears to be similar to vgcfgrestore but I would suggest you spend some time going through the man page.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 03:49 AM
06-18-2002 03:49 AM
Re: how can I use dgcfgrestore command?
here is some exam :
NAME
dgcfgrestore - display or restore VxVM disk group configuration from backup file
SYNOPSIS
/usr/sbin/dgcfgrestore -n dg_name -l
/usr/sbin/dgcfgrestore -n dg_name [-o old_dm_name] dm_name
/usr/sbin/dgcfgrestore -f dg_conf_path -l
/usr/sbin/dgcfgrestore -f dg_conf_path [-o old_dm_name] dm_name
please also look at this menual :
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/00/80-con.html&toc=/hpux/onlinedocs/B9106-90008/00/00/80-toc.html&searchterms=dgcfgrestore&queryid=20020618-045405
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 05:21 AM
06-18-2002 05:21 AM
Re: how can I use dgcfgrestore command?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 07:38 AM
06-18-2002 07:38 AM
Re: how can I use dgcfgrestore command?
you didnt told us what do you want to do with the command .
here is an exam. how to use this command to recover from a bad voule group .
EXAM :
The following steps can be used to recreate a rootdg that had only one disk
after that disk failed. This document assumes that the original disk in the
rootdg and the replacment disk are both /dev/rdsk/c3t1d0.
1. Replace the failed disk and boot the system. Note that VxVM will not start
and any VxVM volumes that are usually mounted by reading /etc/fstab will not
be available.
2. Set the vxconfigd to run in disabled mode.
vxconfigd -m disable
If the following error is returned:
vxvm:vxconfigd: ERROR: cannot open /dev/vx/config: Device is already open
Check the state of vxconfigd as follows:
vxdctl mode
The output should look like this:
mode: disabled
3. Start 10 vxiod processes.
vxiod set 10
4. Run vxconfigd in disabled mode, and create the necessary /dev/vx/dmp device files.
vxdctl init
5. Create rootdg with no disks.
vxdg init rootdg
6. Initialize the original disk for use in the rootdg.
vxdisk init c3t1d0
7. Add the disk to rootdg.
vxdg adddisk disk01=c3t1d0
8. Reset vxconfigd to run in normal mode, and bring the other disk groups back on line.
vxdctl enable
9. Recover the rootdg volumes from the dgcfgbackup file.
dgcfgrestore -n rootdg c3t1d0
10. At this point the volumes are recreated with their original sizes, but are not
yet enabled. Run the following command for each volume in the rootdg:
vxvol ???g rootdg start vol01
11. Start all of the other volumes.
vxvol startall
12. Now any volumes in the rootdg that contained filesystems will have to
have those filesystems recreated.
newfs /dev/vx/rdsk/rootdg/vol01
13. Then the all of the volumes will have to be mounted.
mount -a
14. And finally any data in the rootdg volumes/filesytems will have to be
recovered from archives.
Now the rootdg is recovered, and VxVM will start automatically at each reboot.