[OpenIndiana-discuss] Unable to open disk device w/ 3 TB disk

Reginald Beardsley pulaskite at yahoo.com
Mon Oct 22 19:20:22 UTC 2012


I got a replacement for my failed 3 TB Hitachi drive.

Unfortunately, I can't access the replacement from either Sol 10 u8 or OI 151a7.

If I run "format -e" and select the disk, format dumps core w/ a segmentation violation.  Similarly, fdisk & dd report they are unable to open the device. Behavior is the same on both Sol 10 & OI. 

I was able to format and mount the drive w/ Ubuntu 10.4 LTS, so I don't think it's a case of a bad disk.  In this instance, the same machine was used for Ubuntu and OI w/ different boot disks installed.  

I'd assumed this was sector size related, but it's now looking as if it's EFI label related.

Does anyone have any information or suggestions for a workaround?

Here's the tail end of the truss output on 151a7 for "format -e" followed by selecting the disk.

[snip]
974/1:		open("/dev/rdsk/c1d0s0", O_RDONLY|O_NDELAY)	= 4
974/1:		stat64("/opt/VRTSvxvm/lib/libadm.so.1", 0x08046788) Err#2 ENOENT
974/1:		ioctl(4, DKIOCGEXTVTOC, 0x08047230)		Err#48 ENOTSUP
974/1:		stat64("/opt/VRTSvxvm/lib/libefi.so.1", 0x08046788) Err#2 ENOENT
974/1:		ioctl(4, DKIOCINFO, 0x08047120)			= 0
974/1:		ioctl(4, DKIOCGMEDIAINFO, 0x08047170)		= 0
974/1:		ioctl(4, DKIOCGETEFI, 0x08047180)		= 0
974/1:		ioctl(4, DKIOCGETEFI, 0x08047180)		= 0
974/1:		ioctl(4, DKIOCGETEFI, 0x08047180)		= 0
974/1:		close(4)					= 0
974/1:		stat("/dev/rdsk/c1d0p0", 0x08047870)		= 0
974/1:		open("/dev/rdsk/c1d0p0", O_RDONLY)		Err#6 ENXIO
974/1:		fstat64(2, 0x08046470)				= 0
974/1:		write(2, " E r r o r :   c a n ' t".., 24)	= 24
974/1:		write(2, " / d e v / r d s k / c 1".., 16)	= 16
974/1:		write(2, " ' .\n", 3)				= 3
974/1:		    Incurred fault #6, FLTBOUNDS  %pc = 0x08066D40
974/1:		      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000258
974/1:		    Received signal #11, SIGSEGV [default]
974/1:		      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000258
# 

dd & fdisk both get ENXIO on the open calls.

Thanks,
Reg





More information about the OpenIndiana-discuss mailing list