c5f4 FSCK: cannot determine filesystem type (6.2->8.2) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old June 30th, 2011, 07:44
monkeyboy monkeyboy is offline
Junior Member
 
Join Date: Apr 2009
Posts: 82
Thanks: 4
Thanked 10 Times in 10 Posts
Default FSCK: cannot determine filesystem type (6.2->8.2)

I converted a FreeBSD 6.2 system to 8.2, with a couple of data drives that supposedly would "move over". However I found that bsdlabel complained about the partitioning of these drives and then fsck reported
Code:
cannot determine filesystem type
Got me a little worried that 8.2 couldn't read these drives/filesystems from 6.2.

As it turns out, running fsck_ffs instead worked fine and the drives mounted okay. I gather that between 6.2 and 8.2, fsck tried to get "smarter" but not smart enough to figure out to use fsck_ffs with these drives. Also the use of the 'c' partition is now (weakly) prohibited.

It would be nice to be able to "restore" 8.2 fsck's ability to realize that these are FFS filesystems. Any clues as to how? (I guess I could read the code to see what it is trying to test.)

Last edited by DutchDaemon; June 30th, 2011 at 18:09. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #2  
Old June 30th, 2011, 10:30
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,525
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Use the -t flag.

$ fsck -t ufs /dev/da0
(Don't remember if ufs was in lowercase or uppercase, probably lowercase)

Last edited by DutchDaemon; June 30th, 2011 at 18:09.
Reply With Quote
  #3  
Old June 30th, 2011, 12:52
acheron acheron is offline
Junior Member
 
Join Date: Aug 2010
Location: /dev/null
Posts: 53
Thanks: 11
Thanked 13 Times in 10 Posts
Default

See this thread http://lists.freebsd.org/pipermail/f...ne/011662.html
Reply With Quote
The Following User Says Thank You to acheron For This Useful Post:
monkeyboy (June 30th, 2011)
  #4  
Old June 30th, 2011, 18:36
monkeyboy monkeyboy is offline
Junior Member
 
Join Date: Apr 2009
Posts: 82
Thanks: 4
Thanked 10 Times in 10 Posts
Default

Thanks, I get it now, although not sure why dumpfs can figure these things out, but fsck needs to look in fstab when a filesystem may very well not be in there. I guess you could argue the read vs read/write/destroy issue, but presuming that fstab is actually correct doesn't seem much better.

Last edited by DutchDaemon; June 30th, 2011 at 18:47. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #5  
Old July 3rd, 2011, 00:05
tingo tingo is offline
Member
 
Join Date: Nov 2008
Location: Oslo, Norway
Posts: 825
Thanks: 134
Thanked 82 Times in 68 Posts
Default

Yes, it is a bit annoying that fsck in 8.2 (or perhaps this started in 8.1, I don't remember) can't figure this out on its own, while it did in all previous releases. It could be argued that this change is a POLA violation, too.
__________________
Torfinn

Last edited by DutchDaemon; July 3rd, 2011 at 02:16.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] fsck in single mode VS fsck in multiuser mode mdaocus System Hardware 10 October 14th, 2010 07:53
[Solved] Can I run fsck to check filesystem consistency in multi user model? fender0107401 General 2 April 20th, 2010 16:14
Could not determine audit condition efmoya Installing & Upgrading 0 February 19th, 2010 19:43
[Solved] (grub) FBSD + WinXP - Filesystem type unknown thehobbit Installing & Upgrading 10 December 18th, 2009 05:49
[Solved] Determine which CF file sendmail is using dpalme Web & Network Services 2 November 18th, 2009 04:24


All times are GMT +1. The time now is 13:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0