On Mon, 2003-08-18 at 15:46, Douglas Phillipson wrote: > I recently posted a question concerning attaching a DLT tape drive to a > Dell 2650 running RH AS 2.1. The eventual solution was to install the > OS with the tape drive attached because I couldn't get it to be > recognized by adding it after the install. > > In a related situation I've backed up the server with dump and have a > DLT with all the partitions backed up. I then proceeded to rm -r /usr > and attempt to restore the /usr partition. (server is not on line yet) > I found that when booting the RH AS 2.1 CD and selecting the > "recovery" mode, it nicely mounts the partitions for me under > /mnt/sysimage but I have no access to the tape drive as the device is > missing (/dev/st0). I've tried "insmod st" and "mknod /dev/st0 c 9 0" > and I get no errors but the tape device doesn't seem to be there. How > do those of you running servers do bare metal backup and restore?
I have always reinstalled from cd and then done the restore. Mind you, I have never had this happen to a system partition in the wild, only during testing. Im my case I now use amanda and use amrestore, ir is it amrecover, to actually do the restore. I also have it setup to use tar so I am not dump literate. Having said all this there has to be something that can access the tape: is the device /dev/st0 really missing? by default, mt and alot of other tape utils default to /dev/tape which is symlinked to /dev/st0 on my machine. [EMAIL PROTECTED] bhughes]$ ll /dev/tape lrwxrwxrwx 1 root root 8 Oct 25 2002 /dev/tape -> /dev/st0 [EMAIL PROTECTED] bhughes]$ ll /dev/st0 crw-rw---- 1 root disk 9, 0 Apr 11 2002 /dev/st0 [EMAIL PROTECTED] bhughes]$ My /var/log/dmesg has the following : scsi0 : sym53c8xx-1.7.3c-20010512 scsi1 : sym53c8xx-1.7.3c-20010512 blk: queue c3692618, I/O limit 4095Mb (mask 0xffffffff) Vendor: DEC Model: DLT2000 15/30 GB Rev: 840B and later: st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16 Attached scsi tape st0 at scsi1, channel 0, id 6, lun 0 [EMAIL PROTECTED] root]# mt status SCSI 2 tape drive: File number=0, block number=1, partition=0. Tape block size 0 bytes. Density code 0x19 (DLT 10GB). Soft error count since last status=0 General status bits on (1010000): ONLINE IM_REP_EN What do you get? Bret > > I also tried booting a SuSE CD and I can see the tape drive with it but > I can't mount the darn partitions with "mount -t ext3 /dev/sda7 /mnt" > The device is there but it says "not a proper block device". I've also > tried "timos", a nice version of Linux for recovery purposes and it > recognizes the RAID and SCSI controllers and the DLT tape but > consistantly hangs during the boot process so I never get a command > prompt. > > I can't seem to get there from here... Any help is greatly appreciated. > > Perplexed > > Doug P > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list