Hernan Freschi wrote: > Hello everyone. I'm trying to use a regular USB disk on solaris, and export > it via iSCSI. format shows it: > > 6. c4t0d0 <WDCWD32-00KS-00PFB0- cyl 38911 alt 2 hd 255 sec 63> > /[EMAIL PROTECTED],0/pci1043,[EMAIL PROTECTED],1/[EMAIL > PROTECTED]/[EMAIL PROTECTED],0 > > but when I try to export it, I see that there is no raw disk file to export. > Or at least I think that's the problem. I have c4t0d0s[0-15] and c4t0d0p[04]. > So if I try to do > > iscsitadm create target -t disk -b /dev/dsk/c4t0d0[whatever] -u 0 external > > I get: > > iscsitadm: Error Backing store is not a valid raw device > > I guess I need access to the raw disk (c4t0d0), but it's not available in > /dev/ Do I need to format, label it, or something? I don't think I can write > anything to this disk (it's a TrueCrypt-formatted drive, so writing to it may > corrupt the header and render it unusable). >
Try using this command instead: iscsitadm create target -t raw -b /dev/rdsk/c4t0d0[whatever] -u 0 external Solaris stores raw devices in /dev/rdsk, and block devices in /dev/dsk. benr. _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
