Re: amlabel returning Read-only file system error
On Thu, 13 Mar 2003 at 2:09pm, Ron Bauman wrote amlabel: writing label: Read-only file system It's indeed very weird. Two possibilities: 1. Are you sure you are specifying the correct tapedevice in the amanda configuration? There is no file system on a tape, maybe you specified file:... or something. Investigate with: amgetconf YourConfig tpchanger amgetconf YourConfig tapedev 2. Do you have the drive allowed for variable blocksize? (of fixed at 32k is fine too). I've had some problems with reading/writing tapes with incompatible blocksizes (but never seen read-only). Try it out with dd obs= If that one works with blocksize, it's something else. -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***
amlabel returning Read-only file system error
Hi. I've installed Amanda 2.4.4 on Redhat Linux 7.3. We are using a Spectra Logic TreeFrog 2000. I've got the changer working in Amanda and can read/write tapes using mt and tar. When I attempt to use amlabel to label the tapes I get: [EMAIL PROTECTED] daily]# amlabel -f daily D001 + amlabel -f daily D001 labeling tape in slot 01 (/dev/nst0): rewinding, reading label, not an amanda tape rewinding, writing label D001 amlabel: writing label: Read-only file system [EMAIL PROTECTED] daily] I've tried recompiling the Amanda sources using root/root as the user. The debug logs in /tmp/amanda don't show any additional information. Can anyone give me an idea what might be causing this? Here's the output from /proc/scsi/scsi: Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: MegaRAID Model: LD 0 RAID5 139G Rev: 1.72 Type: Direct-AccessANSI SCSI revision: 02 Host: scsi2 Channel: 04 Id: 06 Lun: 00 Vendor: PE/PVModel: 1x5 SCSI BP Rev: 0.34 Type: ProcessorANSI SCSI revision: 02 Host: scsi2 Channel: 05 Id: 01 Lun: 00 Vendor: SONY Model: SDX-500C Rev: 010B Type: Sequential-AccessANSI SCSI revision: 02 Host: scsi2 Channel: 05 Id: 03 Lun: 00 Vendor: SPECTRA Model: 215 Rev: 1015 Type: Medium Changer ANSI SCSI revision: 02 Any help greatly appreciated. Ron Bauman
Re: amlabel returning Read-only file system error
On Thu, 13 Mar 2003 at 2:09pm, Ron Bauman wrote Hi. I've installed Amanda 2.4.4 on Redhat Linux 7.3. We are using a Spectra Logic TreeFrog 2000. I've got the changer working in Amanda and can read/write tapes using mt and tar. When I attempt to use amlabel to label the tapes I get: [EMAIL PROTECTED] daily]# amlabel -f daily D001 + amlabel -f daily D001 labeling tape in slot 01 (/dev/nst0): rewinding, reading label, not an amanda tape rewinding, writing label D001 amlabel: writing label: Read-only file system [EMAIL PROTECTED] daily] Is that particular tape write protected? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
RE: amlabel returning Read-only file system error
No. It's the same tape I'm able to write/read with tar. That's what is making it frustrating. Ron -Original Message- From: Joshua Baker-LePain [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 3:28 PM To: Ron Bauman Cc: [EMAIL PROTECTED] Subject: Re: amlabel returning Read-only file system error On Thu, 13 Mar 2003 at 2:09pm, Ron Bauman wrote Hi. I've installed Amanda 2.4.4 on Redhat Linux 7.3. We are using a Spectra Logic TreeFrog 2000. I've got the changer working in Amanda and can read/write tapes using mt and tar. When I attempt to use amlabel to label the tapes I get: [EMAIL PROTECTED] daily]# amlabel -f daily D001 + amlabel -f daily D001 labeling tape in slot 01 (/dev/nst0): rewinding, reading label, not an amanda tape rewinding, writing label D001 amlabel: writing label: Read-only file system [EMAIL PROTECTED] daily] Is that particular tape write protected? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: amlabel returning Read-only file system error
On Thu, Mar 13, 2003 at 02:09:54PM -0500, Ron Bauman wrote: Hi. I've installed Amanda 2.4.4 on Redhat Linux 7.3. We are using a Spectra Logic TreeFrog 2000. I've got the changer working in Amanda and can read/write tapes using mt and tar. When I attempt to use amlabel to label the tapes I get: [EMAIL PROTECTED] daily]# amlabel -f daily D001 + amlabel -f daily D001 labeling tape in slot 01 (/dev/nst0): rewinding, reading label, not an amanda tape rewinding, writing label D001 amlabel: writing label: Read-only file system [EMAIL PROTECTED] daily] Write protect tab on tab is blocking writes? -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)