Koozali.org: home of the SME Server

Other Languages => Italiano => Topic started by: FrancescoC on July 20, 2011, 11:42:39 AM

Title: Hd usb
Post by: FrancescoC on July 20, 2011, 11:42:39 AM
Ciao a tutti ,
sto diventando idrofobo con la gestione degli hd usb e prima che morda qualcuno vi prego di aiutarmi !!!
Installo Sme 7.5.1 su mini server Hp N36L e aggiorno il tutto . Imposto il backup e qui l'hd ( formattato FAT32 ) me lo vede. Però sia al momento del backup che quando lo lancio a mano ( do_backupwk) ho questo errore :
 : or while mounting /media/NO_NAME
 in /etc/fstab o /etc/mtab /media/NO_NAME
Backup terminated: backup failed - status: 7424

che posso fare ?
Grazie.
Title: Re: Hd usb
Post by: Stefano on July 20, 2011, 11:46:19 AM
Ciao a tutti ,
sto diventando idrofobo con la gestione degli hd usb e prima che morda qualcuno vi prego di aiutarmi !!!
Installo Sme 7.5.1 su mini server Hp N36L e aggiorno il tutto . Imposto il backup e qui l'hd ( formattato FAT32 ) me lo vede. Però sia al momento del backup che quando lo lancio a mano ( do_backupwk) ho questo errore :
 : or while mounting /media/NO_NAME
 in /etc/fstab o /etc/mtab /media/NO_NAME
Backup terminated: backup failed - status: 7424

che posso fare ?
Grazie.

leggere la guida, l'hd va formattato ext3
Title: Re: Hd usb
Post by: FrancescoC on July 20, 2011, 12:37:23 PM
La guida mi pare dica che va bene anche FAT32 anche perchè su SME che ho installato ormai da mesi e che mi pare non aggiornati , funziona . E' come se non riuscisse a montare l'hd.
Title: Re: Hd usb
Post by: Incognito on July 20, 2011, 02:21:13 PM
Dai un'occhiata a questa guida, è su centos, ma dovrebbe fare al caso tuo:
http://www.centos-italia.org/index.php?page=80
Title: Re: Hd usb
Post by: Stefano on July 20, 2011, 03:36:08 PM
http://wiki.contribs.org/USBDisks
Title: Re: Hd usb
Post by: FrancescoC on July 20, 2011, 07:06:51 PM
Seguendo la guida USBDisk quando digito il comando : " egrep "(kernel|fstab|scsi).*(usb|USB)" /var/log/messages " poi tra i risultati non trovo " Sep 23 17:11:14 office fstab-sync[32193]: added mount point /media/usbdisk1 for /dev/sdd1" . Come se non sentisse l'hd , ci può entrare il fatto che ho installato VmWare Server 2.0.2 ?

Title: Re: Hd usb
Post by: Stefano on July 20, 2011, 07:18:37 PM
attacca l'hd altrove e verifica che funzioni

e si, vmware può influire
Title: Re: Hd usb
Post by: FrancescoC on July 26, 2011, 12:50:29 PM
Ho installato da capo lo sme 7.5.1 su un HP Microserver N36L e mi fa lo stesso scherzo . Sui log trovo questo:
Jul 26 12:40:42 servertest /etc/e-smith/web/panels/manager/cgi-bin/backup[6433]: /home/e-smith/db/configuration: OLD backupwk=service|BackupTime|9:57|Compression|6|CompressionProg|gzip|DaysInSet|1|FullDay|7|IncOnlyTimeout|no|Login||Password||Program|dar|SetsMax|5|SmbHost|localhost|SmbShare|media/NO_NAME
|Timeout|8|VFSType|usb|status|enabled
Jul 26 12:40:42 servertest /etc/e-smith/web/panels/manager/cgi-bin/backup[6433]: /home/e-smith/db/configuration: NEW backupwk=service|BackupTime|0:42|Compression|6|CompressionProg|gzip|DaysInSet|1|FullDay|7|IncOnlyTimeout|no|Login||Password||Program|dar|SetsMax|5|SmbHost|localhost|SmbShare|media/NO_NAME
|Timeout|8|VFSType|usb|status|enabled
Jul 26 12:40:42 servertest esmith::event[6435]: Processing event: conf-backup 
Jul 26 12:40:42 servertest esmith::event[6435]: Running event handler: /etc/e-smith/events/actions/generic_template_expand
Jul 26 12:40:42 servertest esmith::event[6435]: expanding /etc/flexbackup.conf 
Jul 26 12:40:42 servertest esmith::event[6435]: expanding /etc/crontab 
Jul 26 12:40:42 servertest esmith::event[6435]: expanding /etc/dar/CIFScredentials 
Jul 26 12:40:42 servertest esmith::event[6435]: generic_template_expand=action|Event|conf-backup|Action|generic_template_expand|Start|1311676842 174350|End|1311676842 511440|Elapsed|0.33709

non vorrei che con i nuovi server a 64 bit ci sia qualche problema con le usb . Cmq adesso provo con Diskusage.
Title: Re: Hd usb
Post by: Stefano on July 26, 2011, 03:45:48 PM
non ci sono problemi con macchiine 64 bit e non vedo errori sul tuo estratto..

apri un terminale e digita:
Code: [Select]
tail -f /var/log/messages

attacca il disco usb e guarda cosa compare
Title: Re: Hd usb
Post by: FrancescoC on July 26, 2011, 04:06:37 PM
Ecco qua:
Jul 26 16:03:06 servertest atalk: Avvio afpd succeeded
Jul 26 16:03:12 servertest afpd[5702]: servertest:AFPServer@* started on 65280.232:128 (2.0.3)
Jul 26 16:03:12 servertest afpd[5702]: ASIP started on 192.168.1.127:548(6) (2.0.3)
Jul 26 16:03:12 servertest afpd[5702]: uam: loading (/usr/lib/uams_dhx.so)
Jul 26 16:03:12 servertest afpd[5702]: uam: uams_dhx.so loaded
Jul 26 16:03:12 servertest afpd[5702]: uam: loading (/usr/lib/uams_pgp.so)
Jul 26 16:03:12 servertest afpd[5702]: uam: uam not found (status=-1)
Jul 26 16:03:12 servertest afpd[5702]: uam: "DHCAST128" available
Jul 26 16:03:12 servertest afpd[5702]: Finished parsing Config File
Jul 26 16:05:09 servertest sshd(pam_unix)[5802]: session opened for user root by (uid=0)

Jul 26 16:05:41 servertest kernel: usb 1-2: new high speed USB device using address 4
Jul 26 16:05:41 servertest udevd[1153]: udev done!
Jul 26 16:05:41 servertest kernel: Initializing USB Mass Storage driver...
Jul 26 16:05:41 servertest kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Jul 26 16:05:41 servertest kernel:   Vendor: Seagate   Model: Desktop           Rev: 0130
Jul 26 16:05:41 servertest kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jul 26 16:05:41 servertest kernel: SCSI device sdb: 3907029168 512-byte hdwr sectors (2000399 MB)
Jul 26 16:05:41 servertest kernel: sdb: assuming drive cache: write through
Jul 26 16:05:41 servertest kernel: SCSI device sdb: 3907029168 512-byte hdwr sectors (2000399 MB)
Jul 26 16:05:41 servertest kernel: sdb: assuming drive cache: write through
Jul 26 16:05:41 servertest kernel:  sdb: sdb1
Jul 26 16:05:41 servertest kernel: Attached scsi disk sdb at scsi4, channel 0, id 0, lun 0
Jul 26 16:05:41 servertest kernel: USB Mass Storage device found at 4
Jul 26 16:05:41 servertest kernel: usbcore: registered new driver usb-storage
Jul 26 16:05:41 servertest kernel: USB Mass Storage support registered.
Jul 26 16:05:41 servertest scsi.agent[5911]: disk at /devices/pci0000:00/0000:00:12.2/usb1/1-2/1-2:1.0/host4/target4:0:0/4:0:0:0
Jul 26 16:05:45 servertest fstab-sync[5980]: added mount point /media/NO_NAME for /dev/sdb1
Title: Re: Hd usb
Post by: Stefano on July 26, 2011, 04:18:56 PM
Code: [Select]
Jul 26 16:05:45 servertest fstab-sync[5980]: added mount point /media/NO_NAME for /dev/sdb1

funziona, vedi?

il tuo disco non ha etichetta
Title: Re: Hd usb
Post by: FrancescoC on July 26, 2011, 05:09:08 PM
Scusa la mega ignoranza pensavo che l'etichetta fosse NO_NAME. Che devo fare ?
Title: Re: Hd usb
Post by: Stefano on July 26, 2011, 10:24:36 PM
leggi la pagina del wiki che ti ho linkato, trovi tutto li
Title: Re: Hd usb
Post by: FrancescoC on July 28, 2011, 12:49:19 PM
Ho seguito la procedura e qundo digito

 dosfslabel /dev/sdb1

ottengo:

Warning: FAT32 support is still ALPHA.
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  71:55/56, 72:53/6f, 73:42/6c, 74:44/75, 75:49/6d, 76:53/65, 77:4b/20
  Not automatically fixing this.
USBDISK

Che vuol dire ?  :shock:
Title: Re: Hd usb
Post by: Stefano on July 28, 2011, 01:28:51 PM
hai chiesto a google?
dai, su,un po' di intraprendenza
Title: Re: Hd usb
Post by: FrancescoC on July 28, 2011, 07:25:12 PM
Si ma non ho risolto niente .
Scusa se sono un po' pa***so , ma è un mese che ci combatto e a intuito la soluzione mi sembra  una stupidata ...... vado al mare per il weekend e riprendo Lunedì.
bye  8-)
Title: Re: Hd usb
Post by: FrancescoC on August 03, 2011, 05:10:23 PM
Ho provato con dar2 e questo mi funziona quindi penso sia un un problema del programma integrato nello SME . Però con dar2 non riesco a installare le estenzioni del Midnight Commander , qualche idea ?
Title: Re: Hd usb
Post by: FrancescoC on August 03, 2011, 05:14:02 PM
Niente ho risolto .... forse è il caldo ....  :-)
Title: Re: Hd usb
Post by: Stefano on August 03, 2011, 05:21:21 PM
definisci cosa hai risolto e come :-)
Title: Re: Hd usb
Post by: FrancescoC on August 03, 2011, 06:05:31 PM
Niente andavo a cercare gli script del Midnight Commander nella cartella sbagliata . Adesso cercherò di lanciare questi con crontab in modo da avere un backup giornaliero , uno settimanale e mensile.
Title: Re: Hd usb
Post by: FrancescoC on September 23, 2011, 06:55:14 PM
Ho risolto cancellando dal file /etc/mtab la riga che si riferiva all' usbfs.  :)