I am currently looking into using OpenSolaris as my ISCSI target. Through all my configuration/install, I have been really impressed and I haven't seen any huge issues yet. There is one thing though, that I would like to get input on. Currently, I am using a sparse volume as my backing store, created with the command 'zfs create -s -V 100g iscsi/lun0'. I am then connecting to this zvol with the intiator, and try to do some generic testing. I create a (for example) 65M file (with something like 'dd if=/dev/zero of=file.zeros bs=1024 count=66560'). After creating this file, I run 'zfs list' on both boxes, and the disk usage is the same. I then delete the file, and run 'zfs list' again. On the initiator, I see the USED column as 108k. On the host, I see the USED column as 130MB. Here are my questions: - Is this a known issue? - Can anyone explain the discrepancy in reported usage? - How will this affect my storage, in respect to the sparse volume? There is only about 5G of actual storage space on the box, but I created 100g in case I needed to expand it down the road, I could just add disks to the zpool. If the target thinks that is it using more than 5G of space, will this cause major problems?
Side note: I have also mounted this target on a Linux box, formatted the zvol ext3, performed the same steps, and achieved the same end results. Initiator sees the usage as it should be, target thinks it is using much more space. Any tips/explanations/hints/answers would be appreciated. Thanks. - Brad This message posted from opensolaris.org _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
