Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disk configuration 2

Status
Not open for further replies.
Jul 25, 2001
5
GB
Hi,

I have an RS/6000 (320H) on which I have trouble with an external IBM SCSI disk (7204 010) which is defined as a 1000Mb SCSI disk, named hdisk2. During boot it cannot access this device and automatically configures a disk at the same address of type "other scsi", named hdisk1.

The situation is hdisk1 is available, hdisk2 is defined and cannot be detected if I try to make it available (even after removing hdisk1).

hdisk2 has a physical volume identifier which matches the definition of volume group "othervg" which contains various LVs I need.

$ lsdev -C|grep disk
hdisk0 Available 00-01-00-00 400 MB SCSI Disk Drive
hdisk2 Defined 00-01-00-20 1.0 GB SCSI Disk Drive
hdisk1 Available 00-01-00-20 Other SCSI Disk Drive

$ lspv
hdisk0 00007094eccc04c0 rootvg
hdisk1 none None

$ lsattr -l hdisk2 -E
pvid 0000508296c8acd70000000000000000 Physical volume indentifier False
q_type simple Queuing TYPE False
queue_depth 3 Queue DEPTH False

# varyonvg othervg
PV Status: hdisk2 0000508296c8acd7 PVNOTFND
0516-013 varyonvg: The volume group cannot be varied on because
there are no good copies of the descriptor area.

As I'm an AIX newbie any help at getting access to the file systems on hdisk2 would be much appreciated.

TIA,
Bob

 
Bob,

Are there any disk errors in the error report? or is this just a case of the same physical disk? or SCSI ID conflict?

It looks like hdisk2 is in fact hdisk1 as they have the same physical address or there is a SCSI ID confict.

You have two options you could try and remove hdisk1 via:

rmdev -dl hdisk1

and then try and make hdisk2 available via :

mkdev -l hdisk2

lsdev -Cc disk - may then say that hdisk2 is available., lspv may list you vg and you may be able to vary it on.

Option 2 import in the volume group on hdisk1:

Are thge logical volume names you expect in the VGDA of hdisk1:

lqueryvg -p hdisk1 -At

Remove hdisk2 from the system:

rmdev -dl hdisk2

exportvg othervg

Tell the system that hdisk1 has a PVID.

chdev -l hdisk1 pv=yes

vi /etc/filesystems and remove all external filesystems i.e. those on the disk.

Use importvg to import in the volume group othervg via:

importvg -y othervg hdisk1

Hope that helps

Cheers

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Thanks people, but I think this disk has some big problems.
It configures perfectly as hdisk1 and is available but after that everything fails e.g. diag, lquery etc.

Don't ask when the last backup was done either (-:

Bob
 
Bob,

Well if you have any DISK_ERR_1 errors in your error report then the disk is toast. It does not sound too good....So you can`t mount your filesystems after import and read your data?

Have you checked the SCSI cables? also if there WAS a SCSI ID confict why not remove the redundant hdisk2 from the system to ensure that that there is only one disk with the SCSI ID. Of course if there are only two disks, then the fact it re-configured itself to be hdisk1 shows that the disk is on its last legs.

Cheers

Paul



PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
You don't have good copies of VGDA on (of) disk hdisk2, was these disk in VG with another disk? If so, the VGDA copy on that another disk can be used to enable your disk.

I hope it works...
Unix was made by and for smart people.
 
All-

This is what I am looking for.

Suppose I have EMC connected disks on SCSI for H-70 AIX433.
Now I have B-80 with AIX5L will export on H-70 and import on B-80 will update my ODM and /etc/filesystems.

Balanand Pinni
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top