General :: External Hard Drive Mounted As Read-only
Mar 16, 2011
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:
Both drives *appear* to have filesystem issues. When I run an fsck on either drive, I get:
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:
Here's the contents of my /etc/fstab:
Here's the output of "cat /etc/mtab":
Here's the output of a mount command:
Here's the output of fdisk on the device in question:
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.
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've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
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
Hard drive is connected to my Inspiron 1525 via USB, plugged in and I'm not seeing the new drive mounted. Restart doesn't fix things and manually trying to mount /dev/sdb1 doesn't work either. The drive I got is preformatted as NTFS and I've been using a logical partition formatted as NTFS as a sort of share drive between my Windows partition and Ubuntu partition, so I know I have NTFS set up properly. This is the hard drive I'm working with for reference.
I have a computer with Ubuntu 10.04, with few disk space. For downloading some torrents, I've connected a USB hardrive, ext4 formated. But this idea wasn't a solution, because the drive keeps getting read-only permission... Is there any way of prevent this to happen?
I am using Thunar and XFCE4. I started with the minimal install CD, so this is not exactly Xubuntu as I do not have Xubuntu-desktop package installed. I installed psydm to be able to easily edit and control mounting, fstab etc... Anyways, I can't figure out how to write to this disk. I have amended the Thunar icon to read "gksudo Thunar" as its command. It opens Thunar with whatever elevated rights that would come along with the command. I still can't write to the disk. If I change the permissions for the disk under the properties tab to be "read&write" for the user group, It asks me about something to be done retroactively to files. No matter whether I choose yes or no here, it still does not change the disk to a writable disk.
No love and no ideas. Can you help me write to this disk ? I run as a user called "user" so maybe I should not have made Thunar open as "gksudo" ?
so here's my issue and what I think is causing it right now. I have a 1TB external usb hard drive that has worked perfectly, but recently I set it up a mount point for it in fstab so that I could create a SMB share on the drive so I could stream videos and pictures to my TV through my Wii using WiiMC. This now works perfectly, but now the hard drive has been set into read-only mode. When I use sudo to try to chmod the drive or the folders on it, it does nothing. When I right-click on the drive and check the permissions tab, it says the owner is root and all the options are greyed out.
I've read through several posts on similar topics to this, but none of them have been very helpful as they suggest using command line tools that I don't know how to use, so I'm hoping someone here can give me concise, step by step instructions of what to type in, or what settings to change in fstab to solve my little problem so I can start copying stuff back onto my drive. I'm running Ubuntu 10.10 and the filesystem on the external drive is FAT32. Here's some more info you might need:
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 borrowed an external hard drive from my friend to back up a load of stuff on my windows partition before reinstalling it. I am doing this through ubuntu. I am trying to zip up folders like My Documents etc and chuck them on the external hard drive but it always comes up with errors to do with read/write permissions. In the permissions tab on the folder properties of the ext hard drive it says I am owner but i have no file access (only folder access is create and delete files). When i try to give myself read/write permission it just goes straight back to nothing when i look at it again.
My version of linux has a bunch of GUI icons on the left hand side of the screen (vertical). Most are links to programs.You click the GUI icon and the program opens. When I mount my internal hard drive it adds a GUI icon for the drive. The problem is when I click on this new GUI icon it automatically loads K3b and gives an error message instead of giving me a list of what is on my drive. I deleted the program K3b and tried un-mounting then re-mounting the drive. I then tried the new GUI icon for the drive and now it automatically opens Dragon Player.
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.
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
Despite all this info, I fail to get into the external hard-drive from the command line.
I initially thought the problem had to do with the Lucid Lynx upgrade, a lot of people have been reporting similar issues with drive mapping and things along those line. My issue is that an external drive, formatted in FAT32 appears to be corrupted, and overtime begins to read or mounts as 'read-only.'
What I've read, and deduced, is that this is ultimately and issue with the drive. I've backed it up, reformatted, and been able to write to the drive successfully, but I've been moving a lot of files (backing up) and the system has been reporting input/output errors in transferring some files (through the GUI).
The only thing I can think of, is that the device itself is corrupted or damaged, and that I need to be thinking of other back-up options for the future. Any suggestions on disk-doctoring? I'm hoping to do a clean-install of the OS once I back up my files manually.
2) Phenomenon: External hard drives won't be automatically mounted after upgrading some packages...
I have a "not good" habit: I'd love to upgrade whatever suggested by Ubuntu upgrading center every morning. However, after upgrading some packages for today, my computer won't be able to automatically mount external harddrives, including file systems ext4 and ntfs.
My question is: 1) How can I check what packages have been upgraded just within today? 2) How to make my Ubuntu be able to automatically mount external hard drives whenever I plug in a harddrive as before?
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.
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