dudekula mastan wrote:
I don't know whether it's the right place or not to discuss my doubts.
I opened a device ( in raw mode) and I filled the entire space (from 1 block to last block) with some random data. While writing data, I am seeing the following warning messages in dmesg buffer. Jan 30 08:32:36 masthan scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/[EMAIL PROTECTED] (ssd175):
Jan 30 08:32:36 masthan         Corrupt label; wrong magic number
Any idea on this ?
I thought my application is corrupting device structure (device structure has disk label, partition table..etc). In linux, the first block of the device has device structure. Do you know the blocks which has device structure in solaris ?

For Solaris labeled disks, block 0 contains the vtoc.  If you overwrite
block 0 with junk, then this is the error message you should see.
 -- richard
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to