Comportamento con due dischi installati
Ciao a tutti,
ho installato due dischi WD 20EARS nel mio MR5000, il primo interno è stato formattato con il firmware 717 che ha creato tre partizioni, una di root, una destinata al timeshift e una dati.
Il secondo disco installato nel cassettino estraibile contiene una sola partizione NTFS creata e formatta da linux.
Da quando ho aggiunto quest'ultimo disco, la funzione di timeshift ha smesso di funzionare (e rimuovendo il disco torna a funzionare) pur montando correttamente la partizione:
Codice:
/ # mount
/dev/root on / type yaffs2 (ro,noatime)
none on /dev type devfs (rw)
none on /proc type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
none on /sys type sysfs (rw)
none on /tmp type ramfs (rw)
/dev/mtdblock/2 on /usr/local/etc type yaffs (rw,noatime)
/dev/rd/0 on /mnt/rd type vfat (rw,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/scsi/host0/bus0/target0/lun0/part1 on /tmp/usbmounts/sdb1 type ufsd (rw,nodiratime)
/dev/scsi/host1/bus0/target0/lun0/part1 on /tmp/hdd/volumes/HDD1 type ufsd (rw,nodiratime)
/dev/scsi/host1/bus0/target0/lun0/part3 on /tmp/hdd/root type ext3 (rw)
/dev/scsi/host1/bus0/target0/lun0/part4 on /tmp/hdd/livepause type udf (rw)
l'unica cosa che noto è che la partizione livepause è collegata all'/dev/scsi/host1 e che il disco estraibile è collegato /dev/scsi/host0 ma anche scambiando i due cavi SATA il risultato non cambia.
Qualche idea?
Ho aperto un ticket ad O2Media su questa cosa e sul fatto che le partizioni dati vengono montate con label diverse ad ogni reboot, ma mi hanno risposto di formattare il disco .... ok fattibile .. ma dei 3Tb :o.o: di 'materiale' contenuti nei dischi che ci faccio .. ad ogni upgrade firmware sposto tutto, formatto e ricopio?
Re: Comportamento con due dischi installati
vado a memoria perche non ce l'ho sotto mano l'MR5000....ma se hai il FW 717 come mai c'è il filesystem Yaffs mentre il 717 ricordo che aveva lo squashfs ?
Comunque il problema è la solita Dvdplayer che viene usata per montare i dischi. A ogni boot li monta diversamente anche quando lasci la configurazione hw inalterata.
Bisognerebbe demandare al sistema operativo il montaggio dei dischi e poi far partire la Dvdplayer.
Cambiando configurazioni hw di conseguenza la dvdplayer dovrebbe risistemare il file di configurazione del samba server.
Ciao
Re: Comportamento con due dischi installati
Il firmware installato ora è il 739.
Quando è uscito il 717 ho formattato il disco interno in modo da fargli creare le partizioni di root e livepause e da allora non l'ho più riformattato.
Quello che proprio non mi riesce di capire è come mai si comporti in modo così differente con i due dischi interni, mi spiego, il primo è questo:
Codice:
/dev/scsi/host1/bus0/target0/lun0/part1 1.8T 1.1T 682.0G 63% /tmp/hdd/volumes/HDD1
/dev/scsi/host1/bus0/target0/lun0/part3 525.0M 17.3M 481.0M 3% /tmp/hdd/root
/dev/scsi/host1/bus0/target0/lun0/part4 12.0G 778.0k 12.0G 0% /tmp/hdd/livepause
Come si vede la partizione dati viene montata in /tmp/hdd/volumes/HDD1, mentre per il secondo disco che ha una sola partizione dati:
Codice:
/dev/scsi/host0/bus0/target0/lun0/part1 1.8T 1.6T 205.2G 89% /tmp/usbmounts/sdb1
lo monta in tmp/usbmounts/sdb1 posizione differente, come se fosse un disco USB esterno.
Ho pensato che DvDPlayer utilizzasse una qualche label particolare del volume per riconoscere e montare le partizioni per cui ho rinominato la seconda partizione HDD2, ma non è cambiato nulla.
Tra l'altro mi compare anche una fantomatica cartella C: che punta a /tmp/usbmounts/sdc1 ... ovviamente è vuota dato che punta ad un disco che non esiste.
Codice:
/tmp/ramfs/volumes # ls -la
drwxrwxrwx 2 root root 0 Jan 26 15:49 .
drwxrwxrwx 5 root root 0 Jan 26 15:49 ..
lrwxrwxrwx 1 root root 21 Jan 26 15:49 A: -> /tmp/hdd/volumes/HDD1
lrwxrwxrwx 1 root root 19 Jan 26 15:49 C: -> /tmp/usbmounts/sdc1
-rw-r--r-- 1 root root 40 Jan 26 15:49 D:
-rw-r--r-- 1 root root 40 Jan 26 15:49 E:
-rw-r--r-- 1 root root 40 Jan 26 15:49 F:
-rw-r--r-- 1 root root 39 Jan 26 15:49 G:
lrwxrwxrwx 1 root root 19 Jan 26 15:49 H: -> /tmp/usbmounts/sdb1
Altra cosa strana, usando il comando fdisk e chiedendo la lista della partizioni, queste sono tutte praticamente senza senso:
Codice:
/tmp/ramfs/volumes # fdisk /dev/scsi/host1/bus0/target0/lun0/part1
The number of cylinders for this disk is set to 241524.
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): p
Disk /dev/scsi/host1/bus0/target0/lun0/part1: 1986.6 GB, 1986602526720 bytes
255 heads, 63 sectors/track, 241524 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/scsi/host1/bus0/target0/lun0/part1p1 ? 33829 155442 976859833 74 Unknown
Partition 1 does not end on cylinder boundary.
/dev/scsi/host1/bus0/target0/lun0/part1p2 ? 120594 169080 389460666 a OS/2 Boot Manager
Partition 2 does not end on cylinder boundary.
/dev/scsi/host1/bus0/target0/lun0/part1p3 ? 33755 137276 831535540+ 0 Empty
Partition 3 does not end on cylinder boundary.
/dev/scsi/host1/bus0/target0/lun0/part1p4 ? 10498 10498 0 65 Unknown
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
idem per il secondo disco, creato e formattato NTFS da Ubuntu 10.01:
Codice:
/tmp/ramfs/volumes # fdisk /dev/scsi/host0/bus0/target0/lun0/part1
The number of cylinders for this disk is set to 243200.
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): p
Disk /dev/scsi/host0/bus0/target0/lun0/part1: 2000.3 GB, 2000396289024 bytes
255 heads, 63 sectors/track, 243200 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/scsi/host0/bus0/target0/lun0/part1p1 ? 410 119791 958924038+ 70 Unknown
Partition 1 does not end on cylinder boundary.
/dev/scsi/host0/bus0/target0/lun0/part1p2 ? 121585 234786 909287957+ 43 Unknown
Partition 2 does not end on cylinder boundary.
/dev/scsi/host0/bus0/target0/lun0/part1p3 ? 14052 14052 5 72 Unknown
Partition 3 does not end on cylinder boundary.
/dev/scsi/host0/bus0/target0/lun0/part1p4 164483 164486 25945 0 Empty
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Tra l'altro fdisk riporta anche piccole differenze tra i due dischi che sono due WD 20EARS da 2Tb.
bha .. sono perplesso ....
Re: Comportamento con due dischi installati
... il comando fdisk sbagli a darlo sulla partizione, lo devi dare sul disco per intero ossia:
fdisk /dev/sdc
oppure
fdisk /dev/sdb
poi fai il print delle partizioni con la lettera 'P' vedrai un risultato diverso... quello giusto sui dischi. :wink:
Ciao
P.S. il mio è :
Codice:
/ # fdisk /dev/sdc
The number of cylinders for this disk is set to 19457.
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): p
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 2 17257 138608820 7 HPFS/NTFS
/dev/sdc2 17258 17277 160650 82 Linux swap
/dev/sdc3 17278 17345 546210 83 Linux
/dev/sdc4 17346 19437 16803990 83 Linux
___________________________________________________________
/ # fdisk /dev/sdb
The number of cylinders for this disk is set to 243201.
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): p
Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 243202 1953512448 7 HPFS/NTFS
Re: Comportamento con due dischi installati
:oops3: e anche per oggi la mia figura di m... l'ho fatta, e si che uso linux tutti i giorni :fifi: .
Continua a non tornare il perché monti i due dischi in modo differente, praticamente abbiamo una configurazione quasi identica, anche a te compare, oltre alla due partizioni esistenti un un disco C: vuoto?
:thanks:
Re: Comportamento con due dischi installati
...si anche a me fa lo stesso funzionamento... :na:
probabilmente la parte del file system che serve al boot monta le partizioni necessarie al suo funzionamento.
Per le partizioni dei dischi dati, invece, il montaggio è demandato alla Dvdplayer che a seconda della partenza più o meno veloce degli HD si regola di conseguenza.
Se hai fatto caso, i dischi compaiono dopo circa 30-40 secondi dall'accensione dell'apparato anche se era in stand-by.
La associazione della lettera C: probabilmente è per la sezione delle memory card inserite, infatti senza MMC/SD inserita, in C: non c'è nulla.
A me personalmente dava fastidio il montaggio dei dischi HD in maniera casuale visti dal samba server.
Per questo ho modificato il file di configurazione smbd.conf per farlo funzionare sempre allo stesso modo.
Adesso il disco nel cassetto è H: e il disco interno è A:...... e amen :)
Ciao