Boa tarde Sr(a)'s,
Estou montando um script para backup de arquivos do nosso servidor principal. A idéia é fazermos um backup diário em DVD's RW e a cada semana, um backup geral em um DVD convencional. De forma resumida, o script deve formatar o DVD e depois gravar os dados selecionados, porém não estou conseguindo realizar as gravações. Abaixo, os comando que estou utilizando:
FORMATAR DVDdvd+rw-format -force /dev/dvd -blank (este comando está funcionando perfeitamente)
COPIAR DADOS PARA O DVDgrowisofs -dvd-compat -speed=2 -Z /dev/dvdrw=fabiano.iso (Não está funcionando)
SAIDA DO COMANDOExecuting 'builtin_dd if=fabiano.iso of=/dev/dvd obs=32k seek=0'
:-( write failed: Input/output error
Depois que eu tentei mudar algumas coisas, com dicas de fóruns da internet,
a saída passou a ser:Executing 'builtin_dd if=fabiano.iso of=/dev/sr0 obs=32k seek=0'
:-( unable to O_EXCL /dev/sr0: someone was in time to remount?
COMANDO lshw -c disk*-disk:0
description: SCSI Disk
product: Virtual Disk
vendor: Dell
physical id: 1.0.0
bus info: scsi@4:1.0.0
logical name: /dev/sda
version: 1028
size: 931GiB (999GB)
capacity: 931GiB (999GB)
capabilities: 15000rpm partitioned partitioned:dos
configuration: ansiversion=6 signature=00000080
*-disk:1 UNCLAIMED
description: ATA Disk
product: ST31000340NS
vendor: Seagate
physical id: 0.0.0
bus info: scsi@4:0.0.0
version: MA0D
serial: 9QJ6GHHC
capacity: 931GiB (1TB)
capabilities: 15000rpm
configuration: ansiversion=5
*-disk:2 UNCLAIMED
description: ATA Disk
product: ST31000340NS
vendor: Seagate
physical id: 0.1.0
bus info: scsi@4:0.1.0
version: MA0D
serial: 9QJ6FZK4
capacity: 931GiB (1TB)
capabilities: 15000rpm
configuration: ansiversion=5
*-cdrom
description: DVD-RAM writer
product: DVD+-RW TS-H653G
vendor: TSSTcorp
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/scd0
logical name: /dev/sr0
version: DW10
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=ready
*-medium
physical id: 0
logical name: /dev/scd0
Também não consigo montar o DVD pela linha de comando. Quando o formato, ele aparece na área de trabalho automaticamente, porém não consigo gravar nada pelo Brasero.
LOG BRASEROChecking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1741)
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_set_output_size_for_current_track
BraseroBurnURI stopping
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_session_output_size
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_current_track
BraseroBurnURI burn:// URI found burn:///php-4.2.4.9.tar.gz
BraseroBurnURI called brasero_job_set_current_action
BraseroBurnURI called brasero_job_get_current_track
BraseroBurnURI Information retrieval for burn:///php-4.2.4.9.tar.gz
BraseroBurnURI Added file /home/administrador/Área de Trabalho/php-4.2.4.9.tar.gz at /php-4.2.4.9.tar.gz
BraseroBurnURI called brasero_job_add_track
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI Finished track successfully
BraseroBurnURI stopping
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_set_output_size_for_current_track
BraseroLocalTrack stopping
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_session_output_size
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_current_track
BraseroLocalTrack no remote URIs
BraseroLocalTrack stopping
BraseroChecksumFiles called brasero_job_get_output_type
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_set_output_size_for_current_track
BraseroChecksumFiles stopping
BraseroChecksumFiles called brasero_job_get_output_type
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_session_output_size
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_set_current_action
BraseroChecksumFiles called brasero_job_get_flags
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles Adding graft for checksum file /.checksum.md5 file:///tmp/brasero_tmp_IS1PFV.md5
BraseroChecksumFiles called brasero_job_add_track
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles Finished track successfully
BraseroChecksumFiles stopping
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_flags
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs creating input
BraseroGrowisofs getting varg
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_get_current_track
BraseroGrowisofs called brasero_job_get_fd_in
BraseroGrowisofs got varg:
BraseroGrowisofs deactivating
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage creating input
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_fd_in
BraseroChecksumImage deactivating
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage getting varg
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage called brasero_job_get_current_track
BraseroGenisoimage called brasero_job_get_tmp_dir
BraseroGenisoimage called brasero_job_get_data_label
BraseroGenisoimage called brasero_job_get_flags
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage called brasero_job_set_current_action
BraseroGenisoimage got varg:
/usr/bin/genisoimage
-input-charset
utf8
-r
-J
-graft-points
-path-list
/tmp/brasero_tmp_84WNFV
-exclude-list
/tmp/brasero_tmp_S5WNFV
-A
Brasero-2.30.2
-sysid
LINUX
-quiet
-print-size
BraseroGenisoimage Launching command
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGenisoimage called brasero_job_get_fd_in
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGenisoimage stdout: 2935
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage called brasero_job_set_output_size_for_current_track
BraseroGenisoimage stderr: HUP
BraseroGenisoimage stdout: HUP
BraseroGenisoimage process finished with status 0
BraseroGenisoimage Finished track successfully
BraseroGenisoimage called brasero_job_get_done_tracks
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage stopping
BraseroGenisoimage called brasero_job_get_done_tracks
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGenisoimage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_flags
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs creating input
BraseroGrowisofs getting varg
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_get_flags
BraseroGrowisofs called brasero_job_get_speed
BraseroGrowisofs called brasero_job_get_device
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_get_session_output_size
BraseroGrowisofs called brasero_job_get_current_track
BraseroGrowisofs called brasero_job_get_fd_in
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs got varg:
growisofs
-use-the-force-luke=notray
-use-the-force-luke=dao
-use-the-force-luke=4gms
-dvd-compat
-speed=4
-use-the-force-luke=tracksize:2935
-use-the-force-luke=tty
-Z
/dev/sr0=/proc/self/fd/0
BraseroGrowisofs Launching command
BraseroGrowisofs called brasero_job_get_fd_out
BraseroGrowisofs called brasero_job_get_fd_in
BraseroGrowisofs called brasero_job_get_fd_out
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage linked to BraseroGrowisofs
BraseroChecksumImage creating input
BraseroChecksumImage called brasero_job_get_action
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage linked to BraseroChecksumImage
BraseroGenisoimage getting varg
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_input_type
BraseroGenisoimage called brasero_job_get_tmp_dir
BraseroChecksumImage called brasero_job_set_current_action
BraseroChecksumImage called brasero_job_get_fd_in
BraseroChecksumImage Starting checksum generation live (size = 0)
BraseroChecksumImage called brasero_job_set_nonblocking
BraseroChecksumImage called brasero_job_get_fd_in
BraseroChecksumImage called brasero_job_get_fd_out
BraseroChecksumImage called brasero_job_get_fd_in
BraseroChecksumImage called brasero_job_get_fd_out
BraseroGenisoimage called brasero_job_get_data_label
BraseroGenisoimage called brasero_job_get_flags
BraseroGenisoimage called brasero_job_get_action
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGenisoimage called brasero_job_set_current_action
BraseroGenisoimage got varg:
/usr/bin/genisoimage
-input-charset
utf8
-r
-J
-graft-points
-path-list
/tmp/brasero_tmp_GNGCFV
-exclude-list
/tmp/brasero_tmp_9NGCFV
-A
Brasero-2.30.2
-sysid
LINUX
BraseroGenisoimage Launching command
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGenisoimage called brasero_job_get_fd_in
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGrowisofs stdout: Executing 'builtin_dd if=/proc/self/fd/0 of=/dev/sr0 obs=32k seek=0'
BraseroGrowisofs called brasero_job_set_dangerous
BraseroGenisoimage stderr: Total translation table size: 0
BraseroGenisoimage stderr: Total rockridge attributes bytes: 344
BraseroGenisoimage stderr: Total directory bytes: 0
BraseroGenisoimage stderr: Path table size(bytes): 10
BraseroGenisoimage stderr: Max brk space used 0
BraseroGenisoimage stderr: 2935 extents written (5 MB)
BraseroGenisoimage stderr: HUP
BraseroGenisoimage process finished with status 0
BraseroGenisoimage Finished track successfully
BraseroGenisoimage called brasero_job_get_done_tracks
BraseroGenisoimage called brasero_job_get_fd_out
BraseroGenisoimage disconnecting BraseroGenisoimage from BraseroChecksumImage
BraseroGenisoimage deactivating
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage Setting new checksum (type = 2) b851726878f5d484ff014e73d65557e9 (file:///tmp/brasero_tmp_IS1PFV.md5 before)
BraseroChecksumImage Finished track successfully
BraseroChecksumImage disconnecting BraseroChecksumImage from BraseroGrowisofs
BraseroChecksumImage closing connection for BraseroChecksumImage
BraseroChecksumImage deactivating
BraseroGrowisofs stderr: /dev/sr0: engaging DVD-RW DAO upon user request...
BraseroGrowisofs stderr: /dev/sr0: reserving 2935 blocks
BraseroGrowisofs stderr: , warning for short DAO recording
BraseroGrowisofs stderr: /dev/sr0: "Current Write Speed" is 4.1x1352KBps.
BraseroGrowisofs stdout: 655360/6010880 (10.9%) @0.0x, remaining 0:32 RBU 16.0% UBU 4.8%
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs stdout: 655360/6010880 (10.9%) @0.0x, remaining 0:57 RBU 16.0% UBU 100.0%
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs stdout: 655360/6010880 (10.9%) @0.0x, remaining 1:21 RBU 16.0% UBU 100.0%
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs stdout: 655360/6010880 (10.9%) @0.0x, remaining 1:54 RBU 16.0% UBU 100.0%
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs stdout: 655360/6010880 (10.9%) @0.0x, remaining 2:18 RBU 16.0% UBU 100.0%
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs stdout: 655360/6010880 (10.9%) @0.0x, remaining 2:43 RBU 16.0% UBU 100.0%
BraseroGrowisofs called brasero_job_get_action
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs stderr:
WRITE@LBA=b70h failed with SK=4h/ASC=08h/ACQ=05h]: Input/output error
BraseroGrowisofs stderr: :-( write failed: Input/output error
BraseroGrowisofs stderr: /dev/sr0: flushing cache
BraseroGrowisofs called brasero_job_set_current_action
BraseroGrowisofs stderr: HUP
BraseroGrowisofs stdout: HUP
BraseroGrowisofs process finished with status 5
BraseroGrowisofs called brasero_job_error
BraseroGrowisofs finished with an error
BraseroGrowisofs asked to stop because of an error
error = 0
message = "no message"
BraseroGrowisofs stopping
BraseroGrowisofs closing connection for BraseroGrowisofs
Session error : unknown (brasero_burn_record brasero-burn.c:2842)
Obrigado a todos que puderem me ajudar de alguma forma.