cancel
Showing results for 
Search instead for 
Did you mean: 

Mount Drive

Philip Horan
Frequent Advisor

Mount Drive

Hi. I have basic knowledge of Unix. My company has an Alpha Server 1200 running Digital Unix V4.0F Rev 1229.

One of the drives has failed that houses the company database (a number of dat + idx files, the OS is on a sepearte drive). The failure was as follows:

AdvFS I/O error:
Volume: /dev/rz11a
Tag: 0xfffffff7.0000
Page: 191
Block: 5344
Block count: 16
Type of operation: Write
Error: 5

How do I mount the new drive then set it up as it was prior to failure?

Wihtin unix if I did a DF the drive was listed as /mydrive

I have noted in /etc/fdmns/data there is a file: rz11a

Many Thanks,
Phil.
8 REPLIES
Philip Horan
Frequent Advisor

Re: Mount Drive

Just to update I ran:

ls /etc/fdmns/*

This returned:
/etc/fdmns/data:
rz11a
/etc/fdmns/db:
rz9a
/etc/fdmns/db3:
rz10a
/etc/fdmns/prog:
rz12c
/etc/fdmns/test:
rz13c
/etc/fdmns/root_domain:
rz8a
/etc/fdmns/usr_domain:
rz8g

The one that has failed is:rz11a

Regards,
Phil.

Philip Horan
Frequent Advisor

Re: Mount Drive

I have installed the new drive. I have run scan edt this gave following output:

Device: SDT-9000 Bus: 0, Target: 1, Lun: 0, Type: Sequential Access
Device: RRD46 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct Access
Device: RZ1CB-CA Bus: 1, Target: 0, Lun: 0, Type: Direct Access
Device: RZ1CB-CA Bus: 1, Target: 1, Lun: 0, Type: Direct Access
Device: RZ1CB-CA Bus: 1, Target: 2, Lun: 0, Type: Direct Access
Device: BD0096826B Bus: 1, Target: 3, Lun: 0, Type: Direct Access
Device: BB00912301 Bus: 1, Target: 4, Lun: 0, Type: Direct Access
Device: BB00912301 Bus: 1, Target: 5, Lun: 0, Type: Direct Access

the new drive is:
Device: BD0096826B Bus: 1, Target: 3, Lun: 0, Type: Direct Access


When I boot into unix and type: df the drive is not listed.

How do I label + mount the drive so that it appears as it did prior to failure as below?

Filesystem 512-blocks Used Available Capacity Mounted on
root_domain#root 524288 252002 259744 50% /
/proc 0 0 0 100% /proc
usr_domain#usr 4194304 1709346 2107616 45% /usr
mtmsprog#mtms 17773520 6005498 11707696 34% /mtms
mtmsdb#mtmsdb 8380080 1074670 7290608 13% /mtmsdb
mtmsdata#db1 17773520 12337668 5384544 70% /mtmsdb1
mtmstest#db2 17773520 4354378 13371952 25% /mtmsdb2
mtmsdb3#mtmsdb3 8380080 67392 8269984 1% /mtmsmisc

The drive that has now been replaced is:
mtmsdata#db1 17773520 12337668 5384544 70% /mtmsdb1

etc/fstab as follows:

/dev/rz8b swap1 ufs sw 0 2
root_domain#root / advfs rw 1 0
/proc /proc procfs rw 0 0
usr_domain#usr /usr advfs rw 1 0
mtmsprog#mtms /mtms advfs rw 1 0
mtmsdb#mtmsdb /mtmsdb advfs rw 1 0
mtmsdata#db1 /mtmsdb1 advfs rw 1 0
mtmstest#db2 /mtmsdb2 advfs rw 1 0
mtmsdb3#mtmsdb3 /mtmsmisc advfs rw 1 0


If you require additional information please ask.
Help / Advice appreciated.
Regards,
Phil.




Vladimir Fabecic
Honored Contributor

Re: Mount Drive

Please post output of:
# ls -lR /etc/fdmns
# disklabel -r /dev/rrz12c
# disklabel -r /dev/rrz9c
# disklabel -r /dev/rrz11c

Did you remove faulty drive and install new one at same slot that belonged to faulty drive?

Not sure if I understand what steps you did.
Can you describe steps you did with more details?
In vino veritas, in VMS cluster
Philip Horan
Frequent Advisor

Re: Mount Drive

Thanks for the reply. I now have the drive mounted after talking with the HP tech support team.

Yes I had replaced the drive in the same bay. disklabel would not run. I was talked through a number of commands to resolve the issue.

Re: Mount Drive

Phil,

Could you list the steps that resolved this.

My many thanks
Philip Horan
Frequent Advisor

Re: Mount Drive

Hi. Yes I will. I am awaiting confirmation as it completed at 1.30am 26/09/07 and I worked 17 hours without a break back in at 7am so my brain is still recovering!!

Do you have a similar problem? I will try to post back today, just recovering the system from tape.
Phil.

Re: Mount Drive

Thanks Phil.

Currently I have no issues but if I do, it would nice to know the steps.

I'm glad your up and running!

Stay well
Philip Horan
Frequent Advisor

Re: Mount Drive

Use the following steps as a base procedure to replace a failed disk, using the same domain name, and assuming the newly replaced disk has no disklabel on it and it is a hot swapable device;

This example is for the replacement of a non-bootable rz11 disk. You can simply modify the rz# for other disk #'s

1) Install a New Disc to same bay as failed drive:

2) scu >

3) scan edt #list discs (informational)

4) show edt # show discs identify SCSI ID of new disc (informational)

5) disklabel -wr /dev/rrz11a # This writes a new disklabel on rz11

6) mkfdmn -0 -x2048 /dev/rz11c mydomain #create file domain using a currently used domain name

7) mkfset mydomain db1#create fileset name

8) mount /mydomaindb1 #mount disc

Hope this is of help to someone.
Regards,
Phil.