Author Topic: Dolphin question SOLVED  (Read 1052 times)

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: Dolphin question
« Reply #30 on: October 06, 2012, 03:43:52 PM »
Where is the evidence of errors in the fat32 filesystem? I see a lot of assumptions, but no real evidence.

dougmack:

Before resorting to such drastic measures as repartitioning, etc., open a terminal, su to root, then, with the USB drive plugged in, enter the following commands;

To be sure the USB drive is not mounted;

[root@localhost ~]# umount -a                       <Enter>

To check if the USB drive is still seen as /dev/sdd;

[root@localhost ~]# fdisk -l                             <Enter>

To check and fix the fat32 filesystem, assuming it still shows as /dev/sdd1;

[root@localhost ~]# dosfsck -a /dev/sdd1                        <Enter>

Post your results.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Dolphin question SOLVED
« Reply #31 on: October 06, 2012, 05:06:57 PM »
did i ever said evidence?  i had those problems in the past and i said what i would do in that case

you want answers but we don't have to see you get them this way, you don't have to come and make me look bad every time, i can do that without your help
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline dougmack

  • Hero Member
  • *****
  • Posts: 980
Re: Dolphin question SOLVED
« Reply #32 on: October 06, 2012, 09:46:31 PM »
Hello, OldPolack--I did what you asked.  Here are the results--fairly long copy:

[root@Linux1 doug]# umount -a
umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
[root@Linux1 doug]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a43e9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   129525759    64761856    7  HPFS/NTFS
/dev/sda2       129527748   976768064   423620158+   5  Extended
/dev/sda5       129527808   137703423     4087808   82  Linux swap / Solaris
/dev/sda6       137709243   138872831      581794+  83  Linux
/dev/sda7       140713398   145115144     2200873+  83  Linux
/dev/sda8       147283983   148006844      361431    7  HPFS/NTFS
/dev/sda9       148006908   215672624    33832858+  83  Linux
/dev/sda10      216315288   232573004     8128858+  82  Linux swap / Solaris
/dev/sda11      232573068   668737754   218082343+  83  Linux

Disk /dev/sdb: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes                                                     
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                         
Disk identifier: 0x00065aee                                                                               
                                                                                                         
   Device Boot      Start         End      Blocks   Id  System                                           
/dev/sdb1            2048   123783167    61890560   83  Linux
/dev/sdb2       123783168   312578047    94397440    5  Extended
/dev/sdb5       123785216   205723647    40969216   83  Linux

Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa4b57300

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63   625137344   312568641    7  HPFS/NTFS

Disk /dev/sdd: 4029 MB, 4029677568 bytes
255 heads, 63 sectors/track, 489 cylinders, total 7870464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee885a9c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1     7870463     3935231+   b  W95 FAT32
[root@Linux1 doug]# dosfsk -a/dev/sdd1
bash: dosfsk: command not found
[root@Linux1 doug]# dosfsck -a /dev/sdd1
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
/dev/sdd1: 1314 files, 207298/981885 clusters

I did not try lsof or fuser until after I had done the above, but the results were not helpful:

[root@Linux1 doug]# lsof
bash: lsof: command not found
[root@Linux1 doug]# fuser
No process specification given
Usage: fuser [ -fuv ] [ -a | -s ] [ -4 | -6 ] [ -c | -m | -n SPACE ] [ -k [ -i ] [ -SIGNAL ]] NAME...
       fuser -l
       fuser -V
And so on with the help routine.
Found that lsof was not installed, so I installed it and ran it.  I got a *huge* output that looks like a history of everything I have done on the machine for days!
I really doubt that you would want me to post that here.

--doug



Blessed are the peacemakers...for they shall be shot at from both sides.  A. M. Greeley

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: Dolphin question SOLVED
« Reply #33 on: October 06, 2012, 10:15:26 PM »
Hello, OldPolack--I did what you asked.  Here are the results--fairly long copy:

[root@Linux1 doug]# umount -a
umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
[root@Linux1 doug]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a43e9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   129525759    64761856    7  HPFS/NTFS
/dev/sda2       129527748   976768064   423620158+   5  Extended
/dev/sda5       129527808   137703423     4087808   82  Linux swap / Solaris
/dev/sda6       137709243   138872831      581794+  83  Linux
/dev/sda7       140713398   145115144     2200873+  83  Linux
/dev/sda8       147283983   148006844      361431    7  HPFS/NTFS
/dev/sda9       148006908   215672624    33832858+  83  Linux
/dev/sda10      216315288   232573004     8128858+  82  Linux swap / Solaris
/dev/sda11      232573068   668737754   218082343+  83  Linux

Disk /dev/sdb: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes                                                     
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                         
Disk identifier: 0x00065aee                                                                               
                                                                                                         
   Device Boot      Start         End      Blocks   Id  System                                           
/dev/sdb1            2048   123783167    61890560   83  Linux
/dev/sdb2       123783168   312578047    94397440    5  Extended
/dev/sdb5       123785216   205723647    40969216   83  Linux

Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa4b57300

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63   625137344   312568641    7  HPFS/NTFS

Disk /dev/sdd: 4029 MB, 4029677568 bytes
255 heads, 63 sectors/track, 489 cylinders, total 7870464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee885a9c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1     7870463     3935231+   b  W95 FAT32
[root@Linux1 doug]# dosfsk -a/dev/sdd1
bash: dosfsk: command not found
[root@Linux1 doug]# dosfsck -a /dev/sdd1
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
/dev/sdd1: 1314 files, 207298/981885 clusters

I did not try lsof or fuser until after I had done the above, but the results were not helpful:

[root@Linux1 doug]# lsof
bash: lsof: command not found
[root@Linux1 doug]# fuser
No process specification given
Usage: fuser [ -fuv ] [ -a | -s ] [ -4 | -6 ] [ -c | -m | -n SPACE ] [ -k [ -i ] [ -SIGNAL ]] NAME...
       fuser -l
       fuser -V
And so on with the help routine.
Found that lsof was not installed, so I installed it and ran it.  I got a *huge* output that looks like a history of everything I have done on the machine for days!
I really doubt that you would want me to post that here.

--doug



You didn't need the lsof, and the output is irrelevant for our purposes. The important thing was to run dosfsck on /dev/sdd1 to see if any corruption was reported. Obviously it was not, so you should be good to go with the USB stick as is.  ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline dougmack

  • Hero Member
  • *****
  • Posts: 980
Re: Dolphin question SOLVED
« Reply #34 on: October 06, 2012, 11:29:55 PM »
Thanx, OP.  I think that finally puts a close to this thread.  I'll probably never know why it gave me grief at first, but it seems to work OK now.

--doug
Blessed are the peacemakers...for they shall be shot at from both sides.  A. M. Greeley