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

Re: What is filesystem panic?

Rick Stevens wrote:
Per Anton Rønning wrote:
Mikkel L. Ellertson wrote:
Per Anton Rønning wrote:
Mikkel L. Ellertson wrote:
Double check that you are accessing the correct device. USB drives
do not always get "assigned" the same device. (It might get assigned
/dev/sdd instead of /dev/sdc for example.) If you are interested in
the reasons for this, it should probably be a separate thread...

Oh yes, my processor is slow now. a df command shows this:
[root localhost trade]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
                    718841144   8123212 674202912   2% /
/dev/sda1               194442     44177    140226  24% /boot
tmpfs                  1943548        48   1943500   1% /dev/shm
/dev/ram0                15863       728     15135   5% /mnt/rd
/dev/sdf1              3985612     53992   3931620   2% /media/disk

The JetFlash pen is assigned to sdf1. But do I have to assign it to sdc1
for it to work??
What consequences does this have?

Brgds PAR

Nope - but you have to use /dev/sdf instead of /dev/sdc if you want
fdisk to tell you anything about the drive. This is why you were
getting the unable to open /dev/sdc error message from fdisk.

Of course!
And this is what now comes out of the woodwork:
fdisk /dev/sdf1 -l
Disk /dev/sdf1: 4089 MB, 4089428992 bytes
126 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 7812 * 512 = 3999744 bytes
Disk identifier: 0x69737369

This doesn't look like a partition table
Probably you selected the wrong device.

/dev/sdf1 is a partition.  /dev/sdf is the device.  Try:

    # fdisk -l /dev/sdf

(that's "dash ell", by the way).  That should show you the partition
table on drive /dev/sdf.
Sorry,  my mistake. I don't do these things too often.

[root localhost par]# /sbin/fdisk -l /dev/sdf

Disk /dev/sdf: 4089 MB, 4089445376 bytes
33 heads, 63 sectors/track, 3841 cylinders
Units = cylinders of 2079 * 512 = 1064448 bytes
Disk identifier: 0x7ef87cc2

  Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1        3842     3993583    b  W95 FAT32

But I cannot see any message here that points out what goes wrong -
why it is set to readonly.


- Rick Stevens, Systems Engineer                      ricks nerd com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-           What is a "free" gift?  Aren't all gifts free?           -

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