Aggiustare il filesystem?

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Avatar utente
Conformista informatico
Prode Principiante
Messaggi: 196
Iscrizione: giovedì 16 novembre 2006, 21:20
Contatti:

Aggiustare il filesystem?

Messaggio da Conformista informatico »

Ogni tanto il portatile si blocca all avvio con un errore di file sistem, da quando ho interrotto bruscamente il lavoro di copiatura di gparted nella /home mentre facevo delle partizioni, allora ho trovato di aiuto in rete un comando sudo e2fsck -p -f -v /dev/......, ho avviato una live e il risultato e questo sotto

ubuntu@ubuntu:~$ sudo e2fsck -p -f -v /dev/sda6

    3279 inodes used (0.35%)
    143 non-contiguous inodes (4.4%)
        # of inodes with ind/dind/tind blocks: 180/51/0
  257735 blocks used (6.99%)
      0 bad blocks
      1 large file

    2209 regular files
    1040 directories
      0 character device files
      0 block device files
      0 fifos
      0 links
      20 symbolic links (20 fast symbolic links)
      1 socket
--------
    3270 files
ubuntu@ubuntu:~$ sudo e2fsck -p -f -v /dev/sda4

  143269 inodes used (22.36%)
    968 non-contiguous inodes (0.7%)
        # of inodes with ind/dind/tind blocks: 8192/67/0
  989116 blocks used (38.60%)
      0 bad blocks
      1 large file

  112874 regular files
  14416 directories
      44 character device files
      64 block device files
      5 fifos
    6267 links
  15698 symbolic links (14826 fast symbolic links)
    159 sockets
--------
  149527 files
ubuntu@ubuntu:~$

vorrei sapere, come faccio ora a riparare i file non contigui e altro se necessita?
Portatile con Intel Centrino 1.6 Mhz, 768 mb di ram, Win XP, openSuse 11, Debian testing (come "muletto")
iMac Bondie blue 233 mhz, 256 mb di ram, Mac OSX 10.2.8
Avatar utente
simo91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2186
Iscrizione: venerdì 4 aprile 2008, 14:01
Località: Bologna
Contatti:

Re: Aggiustare il filesystem?

Messaggio da simo91 »

da live

fdisk /dev/sdX
Arch Linux i686
Jabber, per chiunque: simo91@jabber.org - My blog
Avatar utente
Conformista informatico
Prode Principiante
Messaggi: 196
Iscrizione: giovedì 16 novembre 2006, 21:20
Contatti:

Re: Aggiustare il filesystem?

Messaggio da Conformista informatico »

simo91 ha scritto: da live

fdisk /dev/sdX
ecco fatto

ubuntu@ubuntu:~$ sudo fdisk /dev/sda4

The number of cylinders for this disk is set to 1276.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): m
Command action
  a  toggle a bootable flag
  b  edit bsd disklabel
  c  toggle the dos compatibility flag
  d  delete a partition
  l  list known partition types
  m  print this menu
  n  add a new partition
  o  create a new empty DOS partition table
  p  print the partition table
  q  quit without saving changes
  s  create a new empty Sun disklabel
  t  change a partition's system id
  u  change display/entry units
  v  verify the partition table
  w  write table to disk and exit
  x  extra functionality (experts only)

Command (m for help):

e ora?
Portatile con Intel Centrino 1.6 Mhz, 768 mb di ram, Win XP, openSuse 11, Debian testing (come "muletto")
iMac Bondie blue 233 mhz, 256 mb di ram, Mac OSX 10.2.8
Avatar utente
simo91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2186
Iscrizione: venerdì 4 aprile 2008, 14:01
Località: Bologna
Contatti:

Re: Aggiustare il filesystem?

Messaggio da simo91 »

scusa ho detto una boiata assurda, sono un pò stanco ._.

fsck /dev/sdX
Arch Linux i686
Jabber, per chiunque: simo91@jabber.org - My blog
Avatar utente
Conformista informatico
Prode Principiante
Messaggi: 196
Iscrizione: giovedì 16 novembre 2006, 21:20
Contatti:

Re: Aggiustare il filesystem?

Messaggio da Conformista informatico »

simo91 ha scritto: scusa ho detto una boiata assurda, sono un pò stanco ._.

fsck /dev/sdX
fatto....

ubuntu@ubuntu:~$ sudo fsck /dev/sdx
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
fsck.ext2: No such file or directory while trying to open /dev/sdx

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

ubuntu@ubuntu:~$ sudo fsck /dev/sda6
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
/dev/sda6: clean, 3284/923888 files, 257119/3688917 blocks
ubuntu@ubuntu:~$ sudo fsck /dev/sda4
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
Superblock last mount time is in the future.  Fix? yes

/dev/sda4: clean, 143271/640848 files, 989124/2562367 blocks
ubuntu@ubuntu:~$
Portatile con Intel Centrino 1.6 Mhz, 768 mb di ram, Win XP, openSuse 11, Debian testing (come "muletto")
iMac Bondie blue 233 mhz, 256 mb di ram, Mac OSX 10.2.8
Avatar utente
donPi
Prode Principiante
Messaggi: 132
Iscrizione: domenica 31 agosto 2008, 19:03
Contatti:

Re: Aggiustare il filesystem?

Messaggio da donPi »

Immagino sia stato risolto.. L'autore del 3D metta [Risolto] nel titolo..  ;)
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti