Colin Johnson wrote:
> I was having CIFs problems on my Mac so I upgrade to build 105.
> After getting all my shares populated with data I ran zpool scrub on  
> the raidz array and it told me the version was out of date so I  
> upgraded.
> 
> One of my shares is now inaccessible and I cannot even delete it :(
> 
>> r...@bitchko:/nas1/backups# zfs list -r /nas1/backups/
>> NAME           USED  AVAIL  REFER  MOUNTPOINT
>> nas1/backups  33.3K  1.04T  33.3K  /nas1/backups
> 
>> r...@bitchko:/# zfs destroy /nas1/backups/
>> cannot open '/nas1/backups/': invalid dataset name
> 

There's a typo there, you would have to do

zfs destroy nas1/backups

Unfortunately, you can't use the mountpoint, you have to name the dataset.

-tim

>> r...@bitchko:/nas1# rm -Rf backups/
>> rm: cannot remove directory `backups/': Device busy
>>
> 
> 
> This is pretty scary for something that's storing valuable data.
> 
> Any ideas how I can destroy the dataset and recreate it?
> 
> Thanks
> 
> Colin
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to