Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recupero device usb
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
jubushi
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 139
Location: Montesilvano

PostPosted: Thu May 11, 2006 12:08 pm    Post subject: recupero device usb Reply with quote

ho una penna usb che da un momento all'altro mi ha cominciato a dare problemi. se provo a montarla:
Code:
localhost jubushi # !mount
mount -t auto /dev/sda /mnt/sda
mount: /dev/sda: can't read superblock

se provo un fsck:
Code:
localhost jubushi # fsck /dev/sda
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda
Could this be a zero-length partition?

ed lsusb:
Code:
localhost jubushi # !ls
lsusb
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 005: ID 0930:6533 Toshiba Corp. 512M USB Stick
Bus 001 Device 001: ID 0000:0000

c'è qualche modo per recuperarne il contenuto?
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Thu May 11, 2006 12:32 pm    Post subject: Reply with quote

potresti provare a recuperare un altro superblocco (ext di solito ne fa una copia ogni tot di byte).
_________________
Running Fast!
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu May 11, 2006 2:02 pm    Post subject: Reply with quote

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
jubushi
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 139
Location: Montesilvano

PostPosted: Thu May 11, 2006 6:41 pm    Post subject: Reply with quote

Luca89 wrote:
potresti provare a recuperare un altro superblocco (ext di solito ne fa una copia ogni tot di byte).


cioè??
[/url]
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Thu May 11, 2006 8:23 pm    Post subject: Reply with quote

Code:
      -b superblock
              Instead  of  using  the normal superblock, use an alternative superblock specified by superblock.  This option is normally used
              when the primary superblock has been corrupted.  The location of the backup superblock is dependent on the filesystem’s  block‐
              size.   For filesystems with 1k blocksizes, a backup superblock can be found at block 8193; for filesystems with 2k blocksizes,
              at block 16384; and for 4k blocksizes, at block 32768.

              Additional backup superblocks can be determined by using the mke2fs program  using  the  -n  option  to  print  out  where  the
              superblocks were created.   The -b option to mke2fs, which specifies blocksize of the filesystem must be specified in order for
              the superblock locations that are printed out to be accurate.

              If an alternative superblock is specified and the filesystem is not opened read-only, e2fsck will make sure  that  the  primary
              superblock is updated appropriately upon completion of the filesystem check.

_________________
Running Fast!
Back to top
View user's profile Send private message
jubushi
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 139
Location: Montesilvano

PostPosted: Thu May 11, 2006 9:11 pm    Post subject: Reply with quote

nada:
Code:
localhost jubushi # e2fsck -B ext2 /dev/sda
e2fsck 1.37 (21-Mar-2005)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda
Could this be a zero-length partition?
Back to top
View user's profile Send private message
bender86
Guru
Guru


Joined: 18 Mar 2005
Posts: 484

PostPosted: Fri May 12, 2006 11:14 am    Post subject: Reply with quote

Funziona su altri sistemi? Sei sicuro che il device sia proprio sda (vedi dmesg)? Cosa ti dice
Code:
file /dev/sda
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri May 12, 2006 11:18 am    Post subject: Reply with quote

spero non sia il tuo caso, ma sapevi l'esistenza del problema descritto in questo thread? https://forums.gentoo.org/viewtopic-t-451427.html
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum