Red Hat :: Make A Hard Disk Act Like A Tape Drive?
May 4, 2011
I have a linux server running Red Hat Enterprise Linux AS release 4 (Update 8) that I need to do some unusual configurations to. I have a hospital application written using a database called MSE. Now the provider of this application says they will only support tape because of the fact that this system is using a specialized backup system. Basically the data is housed on raw_data blocks. So what I am looking to do is create a way to USE the SAN to present the server with Hard Drives and be mounted as if it was a tape. Has anyone tried to do something like this before? If so how did you configure that. One solution that I thought would be to just Present a 2TB lun and carve up several partitions cut not create filesystems on them. Then just create a symlink everynight /dev/rmt0 and rotate out the partitions.
I have been using an LTO-5 Ultrium-3000 tape drive connected to an ATTO HBA without problem. I can control the tape drive using "mt -f /dev/nst0" and have been able to make successful backups using cpio, tar, and dump/restore. I followed some instructions on the web about how to install the HPE Library and Tape Tools application (version 4.21) which relies on conversion of a rpm to a deb file. The software seems to have been installed correctly and runs. However the hardware scan function does not recognize my tape drive. The following is suggested in the user manual if the tape device is not recognized by the software under Linux:
1. Login as root. 2. Edit the following file: vi /etc/modules.conf 3. Add the following line as appropriate: add options scsi_mod max_scsi_luns=128 4. Reboot the computer.
The problem is I don't have an /etc/modules.conf and am not sure exactly which file would be equivalent? If this is even the correct solution.
My tape drive is controllable and functions well using "mt -f /dev/nst0 status" so it seems to be a matter of LT&T software to detect the tape drive.
At the risk of providing too much info here some, possibly relevant, output from lshw
*-pci:3 description: PCI bridge product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1 vendor: Intel Corporation physical id: 1c bus info: pci@0000:00:1c.0 version: b5
I am looking at getting a DLT drive for my network; however, I have never used the tar command with a tape drive. What happens if the data is larger then 1 tape? Does the tar application automatically span tapes or do I need to use switches so it spans multipule tapes? Right now my Full backup will take 2 or 3 tapes.
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code: sundar@sundar-sundar:~$ fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes
is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)
I want to make the transition from windows (sick of it). Im using Lenovo G530 Laptop and was wondering which would be the best Linux Os (meaning Ubuntu, fedora or something else). Keep in mind that I mostly use my laptop for college work and a lot of video and audio editing. I also want to be able to run Dual operating system (meaning that I wanna run both Linux and Windows) from the same computer as it might be easier for me to make the transition a little bit more easier. That being said I need someone to give me tutorials (video preferred) on how to make the partitions on the hard disk and step by step instruction on how to install both the two OS in my laptop.
My ubuntu login window seems to be chrased and seems no way to restore it. I was planning to move ahead with reinstalling it but could any1 tell me how can i copy data to external hard disk. I am in Mannual restore section with promt staying at root@ubuntu :/#
I've set up my parents' machine running KDE 4.5 and want them to use the Gwenview import function from the Device Manager popup when transferring image files off photo CDs or other inserted media, since it's the easiest method for them to comprehend. All the files on their photo discs are r-xr-xr-x by default so they're unable to rotate or modify the images once copied to their hard disk. I want to set one specific images folder on their system to automatically force any files placed there to be rw-r--r-- (and rw-rw-r-- for another shared images directory elsewhere). It seems that umask won't work since that can only take permissions away and not add them, and I'd rather avoid getting into messy ACL configuration. Is there a way to achieve this either generically or some hidden config in Gwenview itself? I use KRename myself for such tasks but this is way too complex for my parents to understand so I need something that works without them having to do anything.
I got myself a dell laptop from the local computer store. Its a used machine with Windows Vista Home Basic on it. I want to load Ubuntu Desktop 10.10 though so I can do perl development. BUT I want to keep a copy of the entire harddrive with the dell utility partition and Windows Vista in case I want to go back. I was thinking I could image the drive but I not sure what to use, I don't have Ghost or anything, Someone had told me about Clonezilla. Would that work for me? Is it hard to use? Also I want to burn the data to a DVD or something more storable than a harddisk.
I just bought a new 2 TB hard disk to replace my old 175 gig one. I currently am dual-booting Lucid Lynx and Windows 7, and rather than go through the process of reinstalling both, then reinstalling all my programs, settings, and everything, I was wondering if there's a way I can just copy the partitions on my 175 GB disk to the new one, grow them to fill up the rest of the free space on the new 2 TB disk, and then plug that HD into the primary master plug on my motherboard... will that work?
create a partition seperate from my home directory out of it. i have a 500 gig hard drive and i wish to create a 70 gig partition on it on install i used entire disk is there any way to make a partition after this for i do not want to reinstall.
I have a computer that was given to me and is no longer booting up properly. It's an Acer with VISTA installed. I would like to format the hard drive and start over with Linux. I don't have the original windows vista disk, I don't believe the computer even came with one, and no back up disks. Apparently this is the only way to format VISTA. When I am in the command prompt here is what happens.
C:> format c: The type of the file system is NTFS. Enter correct volume lable for drive C: I don't know the correct label.
Searching on the forums I found this. format c:/fs:NTFS/p:/ That doesn't work. I get this: "Invalid parameter - /p:"
My karmic ubuntu studio will no longer boot. I believe I may have intermittent hard drive issues. I've backed up all my important files so I'm not extremely worried; however, I would like to try to get my setup bootable once more. I've reinstalled grub, and on trying to boot, I get the grub kernel selection. Regardless of what I choose, the system won't boot. I believe grub is alright, but something else is not. What else could I try to make it boot again? I've mounted the drive, chrooted to it, updated and upgraded, but it still won't boot. I may be doing that wrong, or there may be something else I need to do.
I have a simple WD external USB hard drive, but when I plug it into my computer nothing happens. Not only is there nothing popping up, but I cannot access it through the file browser. The light on the hard drive turns on as usual.
I am attempting to put vista onto my laptop from a Full install of Ubuntu 10.10, but when I boot from my vista CD and attempt the instalation it says I have to have my drive formated to NTFS, I have tried to google how to get this done.ied to go to ystem>Administration>Disk Utility and then edit the type of the partition but there are like 20 options and none of which are just NTFS. what should I do?
I have got a hold of a extra hdd along with a hdd enclosure. I have tried looking for information on how to install linux on to one but haven't been completely successful on my search. So I turn to all of you. I was also wondering if its possible to have it were I can use it on multiple computers so I can use it for computer repair.
I had a set of rather unusual problems on installing a new 500Gb hard drive on my F14 system, I've solved them, but they were that unusual that I thought I should share them in case anyone else gets the same thing! I'd been experiencing intermittent faults on one of my drives, (lock ups for no reason, occasional boot ups that failed due to ' disk unreadable errors' and other odd errors). I assumed that the drive was failing, but it always showed 'Heathy' on disk utility! This was the disk with the OS on, plus my main 'data' disk had some bad sectors, so I thought I'd buy a nice big 500Gb and reinstall the whole system.
I backed up all my data to an external 'USB' drive, opened the case, (a big old under the table 'desktop', why do they still call them 'desktops'?) shoved in the new SATA drive and rebooted, intending to format the new drive to EXT4 and partitioning it before installing F14 again! OOOOOOOOOW! Major drive failure, missing OS, whole list of SDB errors! Control D, to reboot, BIOS only sees one drive; SDA (I have three, two IDE and one SATA) plus the one I just put in makes four. I go into BIOS and discover that it not only cant see any of the other drives, but my two DVD drives are missing too!
Now I've been building my own systems and mucking about with computers since before you could buy them, and Ive never seen a problem like this one! At first I thought the new drive had screwed my system, for on removal, the problem persisted! Then I noticed that the IDE connector in drive SDB, (the long 40 pin job) was just slightly out of line with the back of the drive, pushed it firmly in and what do you know, everything works! We moved recently and I think the vibration was enough to loosen the connector to give intermittent faults, and pulling the cables about to get the new drive in, pulled it out further......
if there was a way, to add a folder to a hard disk which was full of symlinks to a CD drive. This would primarily be a way to store offline media and a way to access it. I would still be able to browse the folder structure and see the files (but possibly not the sizes). I imagine something like this:
Therefore I can see what files I have available, and I know which media to insert (in this case cd1) and I would then be able to view the files? Or if anyone has a better idea I'm open to it. Just to mention I don't have a GUI on this server, it is completely headless so any solution needs to be console based
I have a very strange problem. My computer is unable to boot from any hard disk but is able to boot from any CD or DVD. I have double-checked the BIOS settings and I am unable to figure out why is this happening. I have noticed that the Windows installer boots from the CD only if one presses a key when the message "Pressany key to boot from CD..." is displayed on the screen, otherwise it boots from the first hard disk.I have a triple boot system with Windows 7 (64-bit), Ubuntu 10.10 (64-bit), and Fedora 14 (64-bit). I have a dedicated GRUB2 partion on one of my disks. What I want is a boot-loader (any would do) on a CD/DVD/USB drive to chain load the GRUB2 present on my hard disk, without a delay, that is, without showing any message, menu, warning, etc. So, is there a way to do that?
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
When I try to install 10.4 on my hard drive, I get all the way to the "Prepare Partitions" menu and there are no disks listed and all button are grayed out. I am installing on an EVGA X58 motherboard with Intel ICH10 and I have AHCI enabled. Does Ubuntu support AHCI? Do I need drivers to install?
I want to install Ubuntu onto a partition on my external hard drive, but my CD burner is broken so I can't just boot up with a live CD and do it that way. So can I install Ubuntu onto my external hard drive with the Startup Disk Creator that comes installed on Ubuntu? And if not is there another way I can do this?