Operating System - Tru64 Unix
1748259 Members
3637 Online
108760 Solutions
New Discussion юеВ

Re: mkfdmn problem

 
Vladimir Fabecic
Honored Contributor

Re: mkfdmn problem

Please post output of:
# ls -al /dev/rdisk/dsk30*
and
# ls -al /dev/disk/dsk30*
What is the type of controller?
In vino veritas, in VMS cluster
Amanda Deer
Frequent Advisor

Re: mkfdmn problem

dcs1a # ls -al /dev/rdisk/dsk30*
crw------- 1 root system 19,695 Sep 14 10:56 /dev/rdisk/dsk30a
crw------- 1 root system 19,697 Sep 14 10:56 /dev/rdisk/dsk30b
crw------- 1 root system 19,699 Dec 12 09:48 /dev/rdisk/dsk30c
crw------- 1 root system 19,701 Sep 14 10:56 /dev/rdisk/dsk30d
crw------- 1 root system 19,703 Sep 14 10:56 /dev/rdisk/dsk30e
crw------- 1 root system 19,705 Sep 14 10:56 /dev/rdisk/dsk30f
crw------- 1 root system 19,707 Sep 14 10:56 /dev/rdisk/dsk30g
crw------- 1 root system 19,709 Sep 14 10:56 /dev/rdisk/dsk30h
dcs1a # ls -al /dev/disk/dsk30*
brw------- 1 root system 19,694 Sep 14 10:56 /dev/disk/dsk30a
brw------- 1 root system 19,696 Sep 14 10:56 /dev/disk/dsk30b
brw------- 1 root system 19,698 Sep 14 10:56 /dev/disk/dsk30c
brw------- 1 root system 19,700 Sep 14 10:56 /dev/disk/dsk30d
brw------- 1 root system 19,702 Sep 14 10:56 /dev/disk/dsk30e
brw------- 1 root system 19,704 Sep 14 10:56 /dev/disk/dsk30f
brw------- 1 root system 19,706 Sep 14 10:56 /dev/disk/dsk30g
brw------- 1 root system 19,708 Sep 14 10:56 /dev/disk/dsk30h


Controller is HSZ70.
Michael Schulte zur Sur
Honored Contributor

Re: mkfdmn problem

BL,

you can not write to the 16 first sectors.
They are write protected because there are crucial disk informations on it.
You will have to skip the first 16 sectors.
dd if=/dev/zero of=/dev/rdisk/dsk30c os=16 count=100000
213291762 sectors is a strange size. This makes it roughly 100GB. I can't remember such a disk. How did you label the disk?
Maybe we will have to redo it.

greetings,

Michael
Amanda Deer
Frequent Advisor

Re: mkfdmn problem

disklabel -wr dsk30
Amanda Deer
Frequent Advisor

Re: mkfdmn problem

I have tried disklabel -z dsk30 and then relabelling but still can't create the domain.
Michael Schulte zur Sur
Honored Contributor

Re: mkfdmn problem

Can you give us the disk model so we can
verify that it is supported by the HSZ70?
Please also post os version and patch kit version.
The disklabel looks the same as before?

Michael
Vladimir Fabecic
Honored Contributor

Re: mkfdmn problem

It is possible that it is a hardware problem, but not sure.
Can you do:
# newfs /dev/disk/dsk30c
and post the message?
In vino veritas, in VMS cluster
Amanda Deer
Frequent Advisor

Re: mkfdmn problem

Ouput from newfs -

Warning: 2198 sector(s) in last cylinder unallocated
/dev/rdisk/dsk30c: 213291762 sectors in 41987 cylinders of 20 tracks, 254 s
ectors
104146.4MB in 2625 cyl groups (16 c/g, 39.69MB/g, 9536 i/g)
super-block backups (for fsck -b #) at:
32, 81568, 163104, 244640, 326176, 407712, 489248, 570784,
652320, 733856, 815392, 896928, 978464, 1060000, 1141536, 1223072,
1304608, 1386144, 1467680, 1549216, 1630752, 1712288, 1793824, 1875360,
1956896, 2038432, 2119968, 2201504, 2283040, 2364576, 2446112, 2527648,
2600992, 2682528, 2764064, 2845600, 2927136, 3008672, 3090208, 3171744,
3253280, 3334816, 3416352, 3497888, 3579424, 3660960, 3742496, 3824032,
3905568, 3987104, 4068640, 4150176, 4231712, 4313248, 4394784, 4476320,
4557856, 4639392, 4720928, 4802464, 4884000, 4965536, 5047072, 5128608,
5201952, 5283488, 5365024, 5446560, 5528096, 5609632, 5691168, 5772704,
5854240, 5935776, 6017312, 6098848, 6180384, 6261920, 6343456, 6424992,
6506528, 6588064, 6669600, 6751136, 6832672, 6914208, 6995744, 7077280,
7158816, 7240352, 7321888, 7403424, 7484960, 7566496, 7648032, 7729568,
7802912, 7884448, 7965984, 8047520, 8129056, 8210592, 8292128, 8373664,
8455200, 8536736, 8618272, 8699808, 8781344, 8862880, 8944416, 9025952,
9107488, 9189024, 9270560, 9352096, 9433632, 9515168, 9596704, 9678240,
Venkatesh BL
Honored Contributor

Re: mkfdmn problem

well...well...well...looks like the disk is 'writable' after all!

newfs succeeds (does the disklabel output show 4.2 BSD for dsk30c?) - that hints that mkfdmn is the culprit.

Vladimir Fabecic
Honored Contributor

Re: mkfdmn problem

Looks like you can create ufs file system with no problem. If you can mount it, that means it is probably not a hardware problem (still not sure).
Can you post output of:
# ls -alR /etc/fdmns
In vino veritas, in VMS cluster