How is zfs file system known in fsck?

Polytropon freebsd at edvax.de
Sun Nov 18 15:50:15 UTC 2012


On Sun, 18 Nov 2012 10:38:43 -0500, Lynn Steven Killingsworth wrote:
> Hi FreeBSD -
> 
> On my PC-BSD 9.1 RC3 I need to run fsck on my internal storage drive.
> 
> I would like to use I think:
> 
> fsck -y -F -t ufs /dev....
> 
> The question is what should I place for 'ufs' since I have zfs.  My  
> guesses just generate similar to 'directories unknown'  My disk is also  
> gpt. If I leave out the file system type after -t my machine apparently  
> accepts a command to do something, but it of course does not do what is  
> needed.

ZFS is "self healing" so there is no separate fsck_zfs tool
provided in the base system (or in any other place). You will
need to use the ZFS tools to check data integrity and make
sure everything is alright (e. g. "zpool scrub").

That is not a bug. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list