Re: 8 GB Flash drive formatted at 3.7 GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcel Rieux wrote:
On Sun, Dec 20, 2009 at 5:40 PM, Mikkel <mikkel@xxxxxxxxxxxxxxxx> wrote:
On 12/20/2009 02:29 PM, Marcel Rieux wrote:
Now that i know it's a 4GB drive, I wouldn't format it ext3, but since
it's already formatted ext3 and I don't plan to use it  to exchange
data, I'll leave it as it is.

But, as I said. I still have this problem:

e2fsck -c /dev/sdb
e2fsck 1.41.9 (22-Aug-2009)
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate
superblock: e2fsck -b 8193 <device>

Dumb question
did you format /dev/sdb or /dev/sdb1?

If you remember well, I said I formatted the drive by right clicking
on the icon.  If you format sdb, an sdb1 partition will be created. If
you don't have a partition, the drive can't be used.

Whatever gave you that idea? If you drop a filesystem on the whole drive and then mount the whole drive, it works fine (at least with tools which assume what you say is what you want). You can use whole drives as members of raid arrays, someone tests that on the raid mailing list regularly. ;-)

The requirement is that you use it where you made it.

I remember you
saying you have a partition on the drive, so I suspect you will have
better luck running "e2fsck -c /dev/sdb1".

The man page does say:

e2fsck - check a Linux ext2/ext3/ext4 file system

A file system is not a device. So, the filesystem -- here sdb1 -- must
be specified.

A file system is on a device, partitions are devices too. Try "ls -l /dev/sda*" and look at the first letter, all block devices.


--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux