On Sep 20, 2010, at 9:03 PM, Valerio Piancastelli wrote: > in the original server, i have also a dataset that shows this > > #ls -l > ?--------- ? ? ? ? ? pgsql2
could you please show output of 'zdb -ddddd <dataset> 3' ? victor > > I'm sending you the IP and credentials to have ssh access. > Please notify me when you don't need anymore > > Valerio Piancastelli > +39 348 8072760 > piancaste...@iclos.com > > ----- Messaggio originale ----- > Da: "Victor Latushkin" <victor.latush...@oracle.com> > A: "Valerio Piancastelli" <piancaste...@iclos.com> > Cc: "mark musante" <mark.musa...@oracle.com>, "zfs-discuss" > <zfs-discuss@opensolaris.org> > Inviato: Lunedì, 20 settembre 2010 18:37:09 > Oggetto: Re: [zfs-discuss] Cannot access dataset > > > On Sep 20, 2010, at 7:23 PM, Valerio Piancastelli wrote: > >> Unfortunately not. >> >> When i do >> >> # /usr/bin/ls -lv /sas/mail-cts >> brwxrwxrwx 2 777 root 0, 0 Oct 18 2009 >> /volumes/store/nfs/ICLOS/prod/mail-cts >> >> it seem a block device: > > Yes,it looks like we have bad mode field value in the znode for root > directory object of this filesystem. Recently there was similar issue, but > there was different sent of bits set in the mode field, so 'ls -l' was > displaying directory as question marks. > > Can you provide ssh or Shared Shell (http://sun.com/123) access to your > system? > > Regards > Victor > > >> >> # stat /sas/mail-cts >> File: `/sas/mail-cts' >> Size: 3 Blocks: 3 IO Block: 512 block special file >> Device: 2d90062h/47775842d Inode: 3 Links: 2 Device type: >> 0,0 >> Access: (0777/brwxrwxrwx) Uid: ( 777/ UNKNOWN) Gid: ( 0/ root) >> Access: 2009-10-18 00:11:29.526578221 +0200 >> Modify: 2009-10-18 00:49:05.501732926 +0200 >> Change: 2010-09-17 19:32:10.113622993 +0200 >> >> if i do >> >> # /usr/bin/ls -lv /sas/mail-cts/ >> /usr/bin/ls: /volumes/store/nfs/ICLOS/prod/mail-cts/: Not a directory >> >> # stat /sas/mail-cts/ >> stat: cannot stat `/sas/mail-cts/': Not a directory >> >> it seems that "something" turned the directory in block file >> >> >> Valerio Piancastelli >> +39 348 8072760 >> piancaste...@iclos.com >> >> ----- Messaggio originale ----- >> Da: "Mark J Musante" <mark.musa...@oracle.com> >> A: "Valerio Piancastelli" <piancaste...@iclos.com> >> Cc: "zfs-discuss" <zfs-discuss@opensolaris.org> >> Inviato: Lunedì, 20 settembre 2010 17:18:01 >> Oggetto: Re: [zfs-discuss] Cannot access dataset >> >> On Mon, 20 Sep 2010, Valerio Piancastelli wrote: >> >>> Yes, it is mounted >>> >>> r...@disk-00:/volumes/store# zfs get sas/mail-ccts >>> NAME PROPERTY VALUE SOURCE >>> sas/mail-cts mounted yes - >> >> OK - so the next question would be where the data is. I assume when you >> say you "cannot access" the dataset, it means when you type ls -l >> /sas/mail-cts it shows up as an empty directory. Is that true? >> >> With luck, the data will still be in a snapshot. Given that the dataset >> has 149G referenced, it could be all there. Does 'zfs list -rt snapshot >> sas/mail-cts' list any? If so, you can try using the most recent snapshot >> by looking in /sas/mail-cts/.zfs/snapshot/<snapshot name> and seeing if >> all your data are there. If it looks good, you can zfs rollback to that >> snapshot. >> _______________________________________________ >> 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 _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss