06-01-2006
Need to make disk device files match
Hi,
I was wondering if there was a way to change the disk device files ex. /dev/dsk/cxtxd0 ?
What I have are two HPUX 11.0 servers using MC Service Guard 11.13. A consultant attached a SAN and both servers had created the same identical LUN device files. Now I could begin creating my volume group , lvol, etc. Well, somewhere down the road, before I could config my volume groups, messed up the fiber that was connected to the SAN on one of the servers. After they changed the fiber, I a reconnected, now the HA1 server has different device file numbers then the HA2 server.
Now I know I could just do a vgexport and vgimport and modify the map files etc. but I heard there was a way to change the device files so they would match on both servers. Anyone have any idea?
Thanks,
Mike
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Discussion started by: alan
4 Replies
2. UNIX for Advanced & Expert Users
Does anyone know if when the Swap Device / Page file in unix is carrying out Page / Swap In's and Page / Swap outs, does it go through the Unix Disk Cache ( I am presuming raw partitions are not being used ) ?
Therefore if there is paging activity on a system ( measured by sar -p, sar -g and... (0 Replies)
Discussion started by: jimthompson
0 Replies
3. Shell Programming and Scripting
Hi, Does anyone have a clever way of mapping the following from two different files using perl.
sample line from vxdisk list output (vxdisk-list.file):
emcpower18s2 auto:sliced IDFAG1_1 (IDFAG1_appdg) online
sample line from 'inq' output (inq.file):
... (0 Replies)
Discussion started by: csoesan
0 Replies
4. AIX
Hi all,
I'm attempting to remove some EMC hdisk devices which we recently had made available to one of our backup servers. This is an AIX 5.3 server. When I try doing an rmdev I get the following:
root@********:/dev# rmdev -d -l hdisk495
Method error (/usr/lib/methods/ucfgdevice):
... (2 Replies)
Discussion started by: C.J.Hund
2 Replies
5. Shell Programming and Scripting
Here is the sample of my file address.txt
Address 1
1234 Drive way
New Orleans, LA
Zipcode :- 12345
Address 2
4567 Spring way
Chicago, IL
Zipcode :- 67890
I would like to grep for an Address title (Ex :- Address 2) , then get its zipcode and echo both in a single line. Ex :- ... (3 Replies)
Discussion started by: leo.maveriick
3 Replies
6. Solaris
Version: Solaris 10 (August 2011) on VM
I am kind of new to Solaris.From VM workstation i allocated 35 GB to this Solaris VM's Disk
The disk was named
c1t0d0
Few basic slices for root(8gb), swap(517mb) and /export/home(494mb) were created by the solaris Installer during the... (18 Replies)
Discussion started by: polavan
18 Replies
7. Shell Programming and Scripting
I want example of a file representing the hard disk storage device In UNIX ? (6 Replies)
Discussion started by: tamer11007
6 Replies
8. Solaris
I added in the configuration file of a whole root zone the following device match entries:
<device match="/dev/rmt/*"/>
<device match="/dev/sg/*"/>
after the reboot the zone was able to see all the devices of its global zone, and let under /dev/rmt and /dev/sg the special files created with... (1 Reply)
Discussion started by: hugo_perez
1 Replies
9. AIX
Please help with command to check the busy % for a hard disk device like hdisk5
Best regards,
Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies
10. Linux
Hi guys,
Any idea why I am getting the below error ?
# drbdsetup disk-options 0 --resync-rate=500M
0: Failure: (138) Device does not have a disk-config
Some info is;
# fdisk -l
Disk /dev/sda: 64.4 GB, 64424509440 bytes
64 heads, 32 sectors/track, 61440 cylinders
Units =... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies
LEARN ABOUT REDHAT
vgexport
VGEXPORT(8) System Manager's Manual VGEXPORT(8)
NAME
vgexport - make volume groups unknown to the system
SYNOPSIS
vgexport [-a|--all] [-d|--debug] [-h|--help] [-v|--verbose] [--version] [VolumeGroupName...]
DESCRIPTION
vgexport allows you to make the inactive VolumeGroupName unknown to the system. You can then move all of the physical volumes in that vol-
ume group to a different system for later vgimport(8). An exported volume group is not detected by vgscan(8), but pvscan(8) will show
which physical volumes belong to the exported volume group.
OPTIONS
-a, --all
Exports all inactive volume groups.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Display verbose runtime information about vgexport's activities.
--version
Display tool and IOP version and exit successfully.
DIAGNOSTICS
vgexport returns an exit code of 0 for success and > 0 for error:
1 no volume groups found at all
2 no volume group name on command line
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
SEE ALSO
lvm(8), vgimport(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGEXPORT(8)