1827800 Members
2932 Online
109969 Solutions
New Discussion

mkfs error

 
George Liu_4
Trusted Contributor

mkfs error

# newfs -F hfs /dev/rdsk/c4t1d0
mkfs (hfs): write() error in wtfs() at block 215490.
mkfs (hfs): Invalid argument

Any idea?
4 REPLIES 4
Court Campbell
Honored Contributor

Re: mkfs error

so you are trying to create an hfs filesystem on a non-lvm disk. what is the size of the disk?
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
James R. Ferguson
Acclaimed Contributor

Re: mkfs error

Hi George:

You might want to verify the underlying disk:

# dd if=/dev/rdsk/c4t1d0 of=/dev/null bs=1024k

Regards!

...JRF...
Court Campbell
Honored Contributor

Re: mkfs error

you might also look at your syslog and dmesg to see if tey have any useful info on the situation.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Hein van den Heuvel
Honored Contributor

Re: mkfs error

Maybe the disk is bad, or HPUX has stored the wrong characteristics for it.


May first step would be 'diskinfo'

How big is the disk supposed to be and what does HPUX think about it?

Next maybe a dd to see how far you can read and/or write.

You may have to delete the device files and recreated tehm with insf


Good luck,
Hein.