General :: External Hard Drive - Poor Man's Hybrid Storage?
Mar 2, 2010
Hybrid Storage harddisks use a large non-volatile cache to save power and improve speed. I wanted to ask if there's a reasonably simple way to simulate that under Linux. Ideally there would be a FUSE-filesystem that does this, For now this is purely theoretical, but my setup would be a small home server (Sheeva Plug) with an external USB harddisk that goes to sleep after a few minutes of inactivity. To keep it powered down as long as possible, I would like to use a 16GB SD card as a cache for the harddisk, thus simulating Hybrid Storage.
The only possible solutions I found thus far were Hierarchical storage management packages for enterprise use, which are way too expensive for this task.
I have a Linux application(ProMAX 5000) running in a virtual Machine on my windows OS. I am using an external Hard drive of 250G in ext2 file system as my device for large data read, write & execute file system. I have already mounted the device from /etc/fstab. But i want my application to access this device as a Primary data storage device OR Secondary storage device. What command will i invoke to partition this 250G drive as my primary or secondary storage device.
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
I have this unique situation, I think. My TV plays certain files only through external USB storage. My Ubuntu server stores all of these files on local hard disks. I do not want to buy an external hard disk and then keep moving it between both. Now, strange as it may sound, is it possible to somehow connect my server to the PC and expose a given local hard disk connected to the server, as an external USB drive to the TV?
if I try to install a linux distro on an external hard drive, while I have windows XP on my primary, will the Linux stlil install a Grub on the Windows MBR. Or have I got that wrong.
I have Red Hat Enterprise Linux 6 installed on my machine. I am unable to mount an External Hard (NTFS). I have tried several options which are as under:
Option 1:After making a dir /media/windows mount /dev/sda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222 Option 2: mount -t ntfs /dev/sdb1 /media/windows
I've been thinking about it and I have a few ideas how I could do this...
I could always just image the drive...
Code: dd if=/dev/sda of=/media/EXHD/bakup_$(date +%F).iso Also; I could use rsync... Code: rsync -auv --delete / /media/EXHD/bakup_$(date +%F)/
[Code]....
I've been doing mostly "dd" images...but was wondering if I'm just wasting time backing up a mostly empty HD (256GB and only 5% is used...so dd-ing seems like kinda of a waste).
but I have literally just starting using Linux (Centos) in the last week or so. I am using a standalone PC that is not networked, and as I will be downloading and generating a lot of data on this machine, I would like to regularly backup onto an external hard driveIdeally I would likethis to happen automatically as there will be other people using the machine.There seem to be many different ways of doing this, and I am getting a bit confused about the best method to use.
I have a Seagate external hard drive and I want to use it to back up my home server since it runs Ubuntu 6.10 and the upgrade to 10.10. My problem is that I am not able to format the drive to use it. I can not change the permissons or if I try to format I have all sorts of trouble. I have tried doing it on the home server running 6.10 and another pc running 10.10 and had no luck. Is there a better way? I have even tried chmod and chown with no luck.
I am trying to recover files off a 3.5" IDE Hard Drive that had Windows ME installed on it. I have access to a MacBook, Windows XP Desktop PC, and a cd with Ubuntu 8.10 on it.
Attempts:
1) If I make the HD the only primary master HD it won't boot up.
2) If I make it a slave drive it won't boot up.
3) I purchased an external enclosure from Radio Shack which turned out to be crap and online reports supported this conclusion. I got nowhere with that thing. Bestbuy doesn't sell 3.5" IDE enclosures.
4) By using an IDE / SATA to USB kit, I am able to connect the HD to the PC via USB cable. XP will detect the drive, however the HD will not my displayed under "My Computer" nor "Disk Management".
Onto linux (this is where I grabbed the Ubuntu cd):
5) When connected, the HD will show up under "Computer" as a "USB Drive". When I double click on it I get the error "Unable to mount location Can't mount file".
I was in the process of backing up data from my hard drive to an external usb drive when the drive suddenly became read only. Does anyone know how I can make it read/write again? I am using Debian Lenny and the drive is ntfs formatted. I have another ntfs formatted usb drive that is not effected in this way.
I have a 250 GB external hard drive formatted with Windows NTFS file type.How do I format it to use linux and what file type is best. I'm done with Windows so that is not a concern.
Ubuntu 9.10 recognizes my Freecom 120gig external hard-drive (when it's plugged in) and I can manage its contents OK - except via the command line. I don't seem to be able to find its path-name. See below:
mike@mike-desktop:~$ cd /media mike@mike-desktop:/media$ ls cdrom cdrom0 FREECOM HDD mike@mike-desktop:/media$ sudo fdisk -l
[Code].....
Despite all this info, I fail to get into the external hard-drive from the command line.
I recently had a laptop die on me. I, of course, then to recover the hard drive. I wanted to install slackware to a partition on my drive, so I can have a linux distro with me( also I have a FAT32 partition for shared space) I have a Slackware 13.1 disk one (which i need, since I don't need a graphical environment or anything), and proceedd to follow setup program. I have a 5GB '/' partition, a 10GB '/home' partition, and a 2GB swap partition. My ROOT partition is bootable. The setup program seemed to complete succesfully, but it won't boot. When I choose to boot from my hard drive (in the bios), it reverts to the slackware disk, if present, or the standard windows drive.
I installed LILO to the superblock of my external, because according to the setup the MBR option installs to "The MBR of your first hard drive", and I wasn't sure if that was right, since my first hard drive is my windows one. Since i'm not even seeing LILO, I think it has to do with installing to the superblock. I want to be able to boot a basic linux distro if needed from whatever computer I want. I'm not sure if slackware was the right choice, but it was one that I had worked with installing before, and knewthat you didn't necasarraly have to instal all the graphics stuff. I just want a shell. Sorry if my question sounds retarted, I'm new to the whole "Multiple drives, and operating systems" thing
In Ubuntu 10.04 all I had to do was turn on my external hard drive and it would automatically be detected and mounted. I just switched over to Ultimate Edition, which I think is Ubuntu 10.04 with a lot of stuff added on to it. The funny thing is when I turn on the external hard drive it doesn't get mounted, and I don't think it's even being detected. I looked in gparted and it doesn't show up there. If I boot into Ubuntu 10.04 and turn on the hard drive it still gets detected and mounted, so there's nothing wrong with it. Ultimate Edition can detect other things connected to USB, like my iPod, so I'm wondering why it can't detect my hard drive.
Edit: When I do tail -f /var/log/messages and if the drive gets detected, this is what it says:
[ 230.520892] usb 1-2.4: new high speed USB device using ehci_hcd and address 6 [ 230.639400] usb 1-2.4: configuration #1 chosen from 1 choice [ 230.639717] scsi9 : SCSI emulation for USB Mass Storage devices [ 235.631550] scsi 9:0:0:0: Direct-Access Maxtor OneTouch 0122 PQ: 0 ANSI: 4
I want to copy a .tgz file from my computer to an external hard drive. However, I get the following message:cp: cannot create regular file `/mnt/usbkey/ws_2008/misc/minipar-0.5-W indows.tgz': ermission deniedI get this error with any file I try to copy to the external disk. rnal disk is recognized, when I mount it, I can see the files and folder I have there, but seems that I cannot copy anything to it.When I try to copy the same files from my computer to a usb flash drive, everything works
I;ve been using Ubuntu (10.xx) for a few months now and am really getting the hang of it.My NAS drive has now failed.It is a WD Mybook world edition 1tb with the blue rings.The drive spins fine and in windows I can see the partitions but I understand the file system is linux based.Can anyone help as to how I can mount the drive and recover the files using ubuntu / linux.I have a USB caddy to connect the SATA drive to my laptop.
I administer a remote server via SSH that runs CentOS 5.5. I have been unsuccessful in all my attempts to write to two different external USB hard drives with a single ext3 partition when logged in as root.
When attempting to create a "test" directory I get one of two messages:
Quote:
Both drives *appear* to have filesystem issues. When I run an fsck on either drive, I get:
Quote:
Keep in mind this is a newly-formatted, empty drive.
Not putting stock in the odds that I've had two hard drives (different sizes and brands) with the exact same hardware problem, I'm going to assume this is a software issue, although maybe it isn't. Hence, my post in "Linux - General". I've heard talk elsewhere of controller (chipset) issues coming into play. Is this valid?
Okay, here's the information you'll need to make a diagnosis....
Here's the output of a "df -h" command:
Quote:
Here's the contents of my /etc/fstab:
Quote:
Here's the output of "cat /etc/mtab":
Quote:
Here's the output of a mount command:
Quote:
Here's the output of fdisk on the device in question:
Quote:
The number of cylinders for this disk is set to 48641.
There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
I've got someone with access to the box if necessary. But it might take days to implement solutions since this isn't his full-time job. Remote solutions are, therefore, preferable.
From some Googling, I've found that you can use Bootcamp to install Linux Macbook.However, I have a Macbook air and do not have sufficient disk space. I was wondering if I could install it on an external drive, and boot it from the Macbook? I think that the problem is the bootloader. But, if I still use Bootcamp to install Ubuntu, it would set up the bootloader, and then I would just install to an external?
I had installed Ubuntu 10.04 onto an external hard drive connected by USB to my laptop:
sdd partition Windoze still resides on the box's internal hard drive: sda2 partition
I also partitioned the internal hard drive so that I have a repository where my documents etc can be accessed by either linux or windoze: sda3 partition (FAT32) I'm assuming that Grub is on the external drive somewhere - as is probably now the Windoze MBR. I'd like to be able to give my wife the ability to start the box (and boot into Windoze) when the external drive is not attached (so that she doesn't have to take the latter with her when she needs to be mobile with the computer). What do I need to do to move grub and the MBR back onto the laptop's internal drive? Or, I suppose: What do I need to do to obtain the functionality that I'm looking for? I'm getting somewhat more comfortable with the command line but, I still need a bit of hand-holding
I have two USB 2 external hard drives. I want to copy about 30 gigs of data from one to another. What command line command do I use ? I was thinking of using cp with the -R and -n options, but I have no idea what devices to refer to. I can't find any external hard drives in /etc/fstab and I'm not sure what /dev device each USB external hard drive uses. I just want to copy the files and the directories that they are in just as they are. There are no links and I do not want to do a backup.
Having just moved to Linux from Windows, I have never considered whether or not to partition my 250 GB external hard drive. As of right now it will only be used for data storage. Should it be partitioned? If so, what size partitions?
I have properly ejected a USB memory stick and removed it from the port, but it remains in my 'Places', on the side pane of Nautilus. The /media directory is empty.
I have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive
I have a rather large USB drive that I'd like to be able to use across the different machines I own. I'm having a hard time figuring out what would be the best file system to use on it to be able to read/write things from the 3 OSs I'm in contact with: Windows, Linux and Mac.
Manually mount or fix my external hard drive. I can't format the drive because I have important data on it. The drive is 1TB Select USB 2.0 Desktop Hard Drive from Iomega. When I plug it in, a message appears that reads:
"Error mounting: mount exited with exit code 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb2,missing codepage or helper program, or other error. In some cases useful info is found in syslog - try dmesg | tail or so".
Also, I plugged in the drive, typed the command "sudo fdisk -l" in the terminal, and received the following:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Earlier this year I encountered a problem with my external hard drive; it would not mount automatically and I kept getting an error message. Last time I was able to fix it by typing in the terminal 'sudo fsck /dev/sdb2'. Once again it's not mounting automatically and I'm not even getting the error message. I can't format the drive because I have important data on it. The drive is 1TB Select USB 2.0 Desktop Hard Drivefrom Iomega. Also, I plugged in the drive, typed the command "sudo fdisk -l" in the terminal, and received thefollowing:WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I just purchased a Western Digital My Book World Edition External hard drive and need to mount and format. My router sees the connection but I am now unsure how to proceed. Will linux detect the new device through my wireless connection? I know very little about Unix based or Linux commands.