Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema Harddisk[RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Tue Jun 26, 2007 11:13 pm    Post subject: Reply with quote

Allora ecco qua, il risultato di fdisk -l è il seguente:


Disk /dev/hda: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3570 28675993+ 7 HPFS/NTFS
/dev/hda2 * 3571 3575 40162+ 83 Linux
/dev/hda3 3576 3638 506047+ 82 Linux swap / Solaris
/dev/hda4 3639 7476 30828735 83 Linux

Disk /dev/hdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 2551 30515 224628831 7 HPFS/NTFS
/dev/hdb2 2 2550 20474842+ f W95 Ext'd (LBA)
/dev/hdb5 2 2550 20474811 b W95 FAT32

Partition table entries are not in disk order

appena l'ho visto ho notato che la partizione che voglio montare è bootable, ed ho pensato che fosse quello il problema, ma non era cosi.

Invece se lancio mount -v /dev/hdb /cartella/ultra/vuota :


#mount -v /dev/hdb1 /mnt/Maxtor/
mount: you didn't specify a filesystem type for /dev/hdb1
I will try type ntfs
mount: /dev/hdb1 already mounted or /mnt/Maxtor/ busy
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 9:16 am    Post subject: Reply with quote

Prova a radere al suolo la tabella partizioni e ripartire da capo... per farlo magari usa testdisk...[/code]
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Wed Jun 27, 2007 9:20 am    Post subject: Reply with quote

hai provato a fare
Code:
mount -v -t ntfs /dev/hdb1 /dove_lo_vuoi_montare/
???

ciao
Back to top
View user's profile Send private message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Wed Jun 27, 2007 10:37 am    Post subject: Reply with quote

Il risultato di mount -v -t ntfs /dev/hdb1 /dove_lo_vuoi_montare/ è lo stesso, ovviamente se rado al suolo la tabella partizioni con testdisk perdo tutti i dati vero?
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 10:47 am    Post subject: Reply with quote

Karhot87 wrote:
ovviamente se rado al suolo la tabella partizioni con testdisk perdo tutti i dati vero?

ehm... si... quindi ti conviene fare un bel backup.... ti dico di fare quello solo perchè non mi viene in mente altro... al max prova ad attendere altri luminari, ma io farei così
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Jun 27, 2007 11:46 am    Post subject: Reply with quote

Sì, fatti un backup x sicurezza degli eventuali dati importanti memorizzati su questo problematico disco fisso.

Dopo aver rasato al suolo la tabella delle partizioni, parti con un test semplice: crea una partizione e formattala come ext3. Riesci a montarla, leggerci e scriversi, smontarla, rimontarla, ed accedere senza problemi al contenuto? (tanto per fugare eventuali dubbi)
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Manwhe
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2007
Posts: 127

PostPosted: Wed Jun 27, 2007 12:14 pm    Post subject: Reply with quote

Allora mi sono scaricato una distribuzione live e magicamente appena ho provato a montare il mio hard disk

Se con una distro Live si riesce a fare il mount , personalmente non vedo la necessita' di picchiare la testa su problema di disco o fs e tanto meno di far radere al suolo l'intero disco :)

Restarta con la live e controlla bene fstab , leggi bene dmesg per vedere se c'e' qualche info in piu' riguardante hd e controller a livello kernel.

e posta i risultati

spero di essere stato utile :)
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Jun 27, 2007 12:22 pm    Post subject: Reply with quote

Essendo che le informazioni date non sono molto di aiuto, essendo che non sappiamo che kernel sta usando, che architettura, come ha compilato il kernel, come ha configurato il suo fstab, che sta provando ad utilizzare ntfs-3g che si appoggia a FUSE (per cui introduce delle variabili in più), non è facile capire dove sta il problema :?
Partendo con dei test "base" forse è più facile dargli una mano, comunque quello che hai fatto notare è importante (ovvero probabilmente è un problema di conf. di Gentoo, visto che su altre distro il mount non fa una piega :P )
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Manwhe
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2007
Posts: 127

PostPosted: Wed Jun 27, 2007 12:29 pm    Post subject: Reply with quote

Ho trovato questo sul sito ufficile ntf-3g :)

If there was no error during installation then the NTFS volume can be mounted in read-write mode for everybody as follows. Unmount the volume if it had already been mounted, replace /dev/hda1 and /mnt/windows, if needed.

mount -t ntfs-3g /dev/hda1 /mnt/windows

You may also need to set the 'locale' option to make all file names with national characters visible. Replace the below hu_HU.utf8 with the appropriate setting.

mount -t ntfs-3g /dev/hda1 /mnt/windows -o locale=hu_HU.utf8

Please see the ntfs-3g manual page for more options and examples. You can also make NTFS to be mounted during boot by adding the following line to the end of the /etc/fstab file:

/dev/hda1 /mnt/windows ntfs-3g defaults 0 0

Hai provato? :)

Erano solo critiche costruttive :)

Spero sempre di essere utile :)
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 12:37 pm    Post subject: Reply with quote

Provare anche a montare con
Code:
ntfs-3g -f /dev/hda1 /mnt/cartella
Back to top
View user's profile Send private message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Wed Jun 27, 2007 1:52 pm    Post subject: Reply with quote

Ho provato tutti i comandi sugeriti da Manwhe ma niente, gli errori si alternano tra :
mount: /dev/hdb1 already mounted or /mnt/windows busy

o

fusermount: mount failed: Device or resource busy
FUSE mount point creation error: No such file or directory
Unmounting /dev/hdb1 (Maxtor(250))

Il kernel è stato compilato manualmente, nn ho usato genker.., il kernel è il 2.6, fstab è questo:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot ext2 default,noatime 1 2
/dev/hda4 / ext3 noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/cdrom /mnt/cdrom audo noauto,ro 0 0
/dev/sda1 /mnt/NTFS ntfs noatime,users 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
proc /proc proc nodev,nosuid,noexec 0 0
/dev/hdb1 /mnt/windows ntfs default 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0

g

ho provato a lanciare: dmesg | grep hdb, ma da gentoo nn appare niente, invece dalla dist live che avevo provato apparivano alcune info, vi posto pure quelle, se vi serve qualcos'altro chiedete
Back to top
View user's profile Send private message
Manwhe
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2007
Posts: 127

PostPosted: Wed Jun 27, 2007 2:04 pm    Post subject: Reply with quote

kernel 2.6.?? (versione completa)
ntfs-3g anche di questa sarebbe utile la versione e posta il dmesg della live :)

ciao
Back to top
View user's profile Send private message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Wed Jun 27, 2007 2:05 pm    Post subject: Reply with quote

se dalla live lancio un dmesg |grep hdb esce fuori questo:

ide0: BM-DMA at 0xec00-0xec07, BIOS settings: hda:DMA, hdb:DMA
hdb: Maxtor 7Y250P0, ATA DISK drive
hdb: max request size: 512KiB
hdb: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63, UDMA(133)
hdb: cache flushes supported
hdb: hdb1
ho notato che nella sequenza di avvio, appare ovviamente l'errore relativo al famoso hard disk

/dev/hdb1 already mount or device is busy

ma appare anche lo stesso errore relativo però all'hard disk esterno usb, ovviamente solo se esso è acceso e se provo a montarlo l'unico modo e spegnerlo e riaccenderlo e allora funziona, altrimenti da lo stesso errore dell'altro hard disk.

Centra niente?
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Jun 27, 2007 2:06 pm    Post subject: Reply with quote

Non è che per caso stai utilizzando SIA il supporto a NTFS del kernel (quello OK x lettura, ma non consigliato per la scrittura) SIA ntfs-3g?

Se sì, disabilita il primo, ricompila il kernel, e ricompila ntfs-3g.
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Manwhe
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2007
Posts: 127

PostPosted: Wed Jun 27, 2007 2:21 pm    Post subject: Reply with quote

Prova ad inserire questa riga in /etc/fstab :)


/dev/hdb1 /mnt/windows ntfs-3g defaults,nls=utf8,umask=007,gid=46 0 0

Ciao
Back to top
View user's profile Send private message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Wed Jun 27, 2007 2:34 pm    Post subject: Reply with quote

Ho ricompilato il kernel togliendo il supporto per ntfs, nn so se ho fatto bene, adesso ho queste voci tutte impostate a no

Linux Kernel v2.6.20-gentoo-r8 Configuration
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────────────────────────────────────────────────── Search Results ────────────────────────────────────────────────────┐
│ Symbol: NTFS_DEBUG [=n] │
│ Prompt: NTFS debugging support │
│ Defined at fs/Kconfig:838 │
│ Depends on: BLOCK && NTFS_FS │
│ Location: │
│ -> File systems │
│ -> DOS/FAT/NT Filesystems │
│ -> NTFS file system support (NTFS_FS [=n]) │
│ │
│ │
│ Symbol: NTFS_FS [=n] │
│ Prompt: NTFS file system support │
│ Defined at fs/Kconfig:810 │
│ Depends on: BLOCK │
│ Location: │
│ -> File systems │
│ -> DOS/FAT/NT Filesystems │
│ Selects: NLS │
│ │
│ │
│ Symbol: NTFS_RW [=n] │
│ Prompt: NTFS write support │
│ Defined at fs/Kconfig:860 │
│ Depends on: BLOCK && NTFS_FS │
│ Location: │
│ -> File systems │
│ -> DOS/FAT/NT Filesystems │
│ -> NTFS file system support (NTFS_FS [=n]) │

ho poi ricompilato ntfs3g ed ho provato anche ad inserire quella riga in etc/fstab, ma nulla, quando provo a montare mi dice

localhost linux # mount /mnt/windows/
fusermount: mount failed: Device or resource busy
FUSE mount point creation error: No such file or directory
Unmounting /dev/hdb1 (Maxtor(250))
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 2:42 pm    Post subject: Reply with quote

Karhot87 wrote:

fstab è questo:
[....]
/dev/hdb1 /mnt/windows ntfs default 0 0


con questa impostazione non usi ntfs-3g, ma ntfs del kernel.

Non mi hai detto cosa succede se usi l'opzione -fv (la "v" l'ho aggiunta ora) quando provi a montare.

Il disco live di gentoo riesce a montare la partizione?
Cmq se insisto che se il problema non si riferisce solo alla partizione ntfs, ma anche alla FAT vuol dire che il problema non è in ntfs-3g e fuse, ma in qualcos'altro.

Dopo che provi a montare un ext o una fat da quel disco, dmesg non ti segnala nessun errore?
Back to top
View user's profile Send private message
Manwhe
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2007
Posts: 127

PostPosted: Wed Jun 27, 2007 2:42 pm    Post subject: Reply with quote

Prova a seguire la doc di questo link

http://gentoo-wiki.com/HOWTO_NTFS_write_with_ntfs-3g

Ciao
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 2:44 pm    Post subject: Reply with quote

Manwhe wrote:
Prova a seguire la doc di questo link

http://gentoo-wiki.com/HOWTO_NTFS_write_with_ntfs-3g

Rifaccio notare che il problema vale anche per la fat... dovremmo cercare altrove il problema e non fissarci sull'ntfs
Back to top
View user's profile Send private message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Wed Jun 27, 2007 2:57 pm    Post subject: Reply with quote

Allora se lancio
localhost ~ # ntfs-3g -fv /dev/hdb1 /mnt/Max

ntfs-3g 1.0 - Third Generation NTFS Driver

Copyright (C) 2005-2006 Yura Pakhuchiy
Copyright (C) 2006-2007 Szabolcs Szakacsits

Usage: ntfs-3g device mount_point [-o options]

Options: ro, force, locale, uid, gid, umask, fmask, dmask,
show_sys_files, no_def_opts, streams_interface.
Please see the details in the manual.

Ntfs-3g news, support and information: http://www.ntfs-3g.org

si infatti ho cambiato fstab, e ho messo ntfs-3g, si con il disco live di gentoo la maonto manualmene sensa problemi

Una domanda, c'e modo o di fermare la schermata di avvio o perlomeno di vedere gli errori? Xke nn riesco a leggere l'errore che da all'inizio
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 3:04 pm    Post subject: Reply with quote

Karhot87 wrote:
Allora se lancio
localhost ~ # ntfs-3g -fv /dev/hdb1 /mnt/Max

azz... scusa... colpa mia... usa
ntfs-3g -o force /dev/hdb1 /mnt/Max
e poi dimmi

PS:ti avviso che io non uso ntfs-3g perchè ho un notebook con sopra solo gentoo e quindi non uso partizioni ntfs
Back to top
View user's profile Send private message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Wed Jun 27, 2007 3:12 pm    Post subject: Reply with quote

# ntfs-3g -o force /dev/hdb1 /mnt/Max

fusermount: mount failed: Device or resource busy
FUSE mount point creation error: No such file or directory
Unmounting /dev/hdb1 (Maxtor(250))
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 3:16 pm    Post subject: Reply with quote

Karhot87 wrote:
# ntfs-3g -o force /dev/hdb1 /mnt/Max

fusermount: mount failed: Device or resource busy
FUSE mount point creation error: No such file or directory
Unmounting /dev/hdb1 (Maxtor(250))

Che m***a!!! E dmesg nn dice nulla di nuovo?
Back to top
View user's profile Send private message
Karhot87
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 137
Location: Poggio Murella (GR) ma studio a Roma

PostPosted: Wed Jun 27, 2007 3:22 pm    Post subject: Reply with quote

# dmesg |grep hd
Adding 506036k swap on /dev/hda3. Priority:-1 extents:1 across:506036k
Ripeto, c'e modo o di fermare la schermata di avvio o perlomeno di vedere gli errori? Xke nn riesco a leggere l'errore che da all'inizio?
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Wed Jun 27, 2007 3:29 pm    Post subject: Reply with quote

Karhot87 wrote:
# dmesg |grep hd
Adding 506036k swap on /dev/hda3. Priority:-1 extents:1 across:506036k
Ripeto, c'e modo o di fermare la schermata di avvio o perlomeno di vedere gli errori? Xke nn riesco a leggere l'errore che da all'inizio?

onestamente non lo so... sapevo (forse erroneamente) che dmesg dice tutto ciò che dice all'inizio... quindi forse con un dmesg | less riesci
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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