10.5. Hardware related Questions

10.5.1. Q: Can Mondo handle CD-RW?
10.5.2. Q: Does Mondo support tape drives?
10.5.3. Q: Does Mondo support my tape drive?
10.5.4. Q: Sometimes, my laptop won't mount Mondo CD properly, or something. Umm...
10.5.5. Q: Does Mondo support Hardware RAID?
10.5.6. Q: Where is my CD burner, in SCSI terms?
10.5.7. Q: Can Mondo handle SCSI devices?
10.5.8. Q: Why doesn't cdrecord -scanbus work ?

10.5.1. Q: Can Mondo handle CD-RW?

A: Yes. Use '-Ow <speed> <device>' to make it work.

10.5.2. Q: Does Mondo support tape drives?

A: Yes. See above.

Of course, mondo will relay on the kernel to support your tape drive. So you should first check that your kernel found it correctly. Use for example one of the following commands:

bash# dmesg | grep tape
bash# cat /proc/scsi/scsi
bash# mt -f /dev/st0 status

10.5.3. Q: Does Mondo support my tape drive?

A: If your tape drive and its firmware and the kernel-level driver support fopen(), fread(), fwrite() and fclose() - standard C library calls - then yes, Mondo should support it. If not, well, you need a refund. :) Mondo plays nicely with any sane, sensible drives. That's most of them, by the way. :) If your drive doesn't play nicely with Mondo then you may try tinkering with setblksize and defblksize using 'mt', or tweaking Mondo's block size by recompiling it with make INTTAPE=4096 or INTTAPE=8192 or something. Other than that, you need a priest or a refund. Also, depending on the tape streamer model, a tape should be inserted in the tape drive before starting mondoarchive, otherwise it may not recognize the drive.

10.5.4. Q: Sometimes, my laptop won't mount Mondo CD properly, or something. Umm...

A: Please insert the CD, close the CD-ROM tray, wait a few seconds and then press Enter to acknowledge insertion of the next CD. Your laptop is on crack and is sucking a little too hard on the pipe.

10.5.5. Q: Does Mondo support Hardware RAID?

A: Yes. You may backup and restore RAID systems. You may also backup a non-RAID system and restore as RAID (or vice versa) by using the mountlist editor to edit your RAID and non-RAID partitions and their settings. Mondo will do the partitioning and formatting for you.

Tested Raid controllers includes all those showing only classical devices such as /dev/sdx, and SmartArray cciss controllers.

10.5.6. Q: Where is my CD burner, in SCSI terms?

A: Type:

bash# cdrecord -scanbus
bash# wodim --devices

or for ATAPI type of devices on older kernel versions:

bash# cdrecord -scanbus dev=ATAPI

you may replace ATAPI by ATA in the previous line with certain cdrecord versions and hadrware configurations

Find your CD burner's device# (e.g. '0,0,0'). Call Mondo with the switch '-Oc <speed>' -d '<device>'. Or, if you feel lucky, just use '-Oc 2'; Mondo will (a) assume you want to write at 4x to a CD-R and (b) will do its best to find your CD burner.

10.5.7. Q: Can Mondo handle SCSI devices?

A: Mondo should be able to handle almost any hardware. So long as your kernel and modules support it, Mindi will support it and therefore so will Mondo.

10.5.8. Q: Why doesn't cdrecord -scanbus work ?

A: If you have a 2.4.x kernel (typical example are fedora legacy kernels for redhat 7.X/8/9) and an IDE CDRW device, and the drive is not listed when you run

bash# cdrecord -scanbus

try adding the following kernel option to your boot script to enable SCSI emulation: hdx=ide-scsi, where "hdx" should be replaced with the appropriate drive letter of the CDRW device, e.g., "hdc". (Answer provided by Christopher Moriarity cdm7_at_cdc.gov)