Hardware :: Can't Access USB Disk
Oct 3, 2010
Every now and then my USB disk drops out and I get the following errors in dmesg:
But when I unplug it, and plug it back in do dmesg | tail, it doesn't pick it or any other usb storage device up (nothing comes out of dmesg this time).
So I tried to reload the module:
But as you can see I get the above error message.
They only think that works is a computer reboot (YUK!).
Any ideas:
* how to determine who is using it?
* force remove it
* solve my main issue of usb dropping out.
View 1 Replies
ADVERTISEMENT
Dec 21, 2009
How can I access an NTFS formatted disk to read the raw data?I have done this with the FAT file system. I followed the FATspecifications,d I can read the contents of each disk sector.
View 11 Replies
View Related
Nov 22, 2010
I reloaded my PC onto a new disk then put the old disk back in the PC to recover old files. I kept the same pc name. The OS setup routine appears to have used my PC name (stiffler) to create the LVM names.
[root@stiffler ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg_stiffler lvm2 a- 232.31g 0
/dev/sdb2 vg_stiffler lvm2 a- 232.63g 0
So the volume group name on both of my disks has the same name!
I'm booted to the correct one, but I would like to access the second one.
How do I rename the other one so I can gain access to it by a unique name!?
View 1 Replies
View Related
May 20, 2011
There is a little strange behaviour on my usb disk. Today i try to access it and, when i list directory i cannot find one of them.A result of the command ls -l give me this result for that directory:
<code>
d????????? ? ? ? ? ? directory
</code>
The disk is formatted in EXT3.i try chmod and chown, but the system give me a generic I/O error.The box is a new 1Tb box, ubuntu is 11.04.
View 1 Replies
View Related
Dec 11, 2010
I do a bit for for local charity that refurbishes and repairs computers, the proceeds going to 'steps' at Bolton. A donation of several sas hard drives has come in and I have got the job of wiping the data before re-sale. I have got a sata adapter and been using a live cd/dvd to access said drive but the nearest I've got is for the live disk (cfdisk) to recognise there is something there although it cannot read it. Any suggestions? Or do I need a special motherboard or O/S?
View 4 Replies
View Related
May 29, 2010
I use a WD 300 gb usb disk for backup, storage etc. No problems until a couple of weeks ago. I can access it with file managers, gparted, fdisk etc with no problems. But now I am unable to write more than the occasional file to the disk. There seems to be no consistency as to what will or won't write. I get a message that the operation is not permitted. This occurs under either user or root.It happens in both 13 and 13.1. No other issues have come up. The internal hard disk in the laptop remains normal. All other usb periph's are working properly.
View 4 Replies
View Related
Aug 4, 2011
I made a clone of my ordinary disk with Clonezilla some times ago. Now I want to access some files on that cloned disk. Since the cloned disk also has a LVM structure I don't know how to mount it. When I connect the cloned disk I can see both /dev/sdb1 & sdb2. vgdisplay -v gives me:
[Code]...
View 2 Replies
View Related
Feb 8, 2009
It all started when I decided to take the plunge and install Linux, bearing in mind that I am still completely dependent on Windows. I decided to go for Ubuntu, hearing that it is user-friendly and easy to learn. My current machine dual boots to WinXP & Vista. Following the guide regarding pre-partitioning, I decided to delete a partition I no longer use so I can install Ubuntu on there. Using XP's disk management, I deleted said partition, but it somehow also deleted my Vista partition! As a result, I am now unable to boot to Vista. I went back to XP, and ran Partition Magic to fix the partition tables. However, I get an error saying something about the partition's drive letter can't be identified. Decided to resinstall Vista but when it asked me where to install, I noticed that it only shows 3 partitions instead of 4 (my data partition has somehow vanished as well). Then I heard a noise from my HDD, and it suddenly reboots. Decided to log back to XP, but I am unable to boot to XP as well (got BSOD'ed).
Got my XP setup disk to reinstall, but this time, XP setup only recognizes one big partition(250gb).... and below the partition there is a note that says "Setup unable to access disk." I also tried the recovery console, and on the C: prompt when I did the chkdisk, it says something about invalid file path or can't find the path. Tried the Vista install again, it was also unable to access the disk. So what happened? Is my HDD dead? Finally, I thought I'd give Ubuntu a try. Decided to do the "Live CD" first, and wow, nice user interface! Then suddenly, I saw my "data" drive and "winxp" drive! Everything is accessible and all my files were there. I was overjoyed knowing that it didn't wipe out any of my files. So I guess my main question is, should I go ahead and install Ubuntu and will I be able to get those files back? Is there a program similar to XP's disk management? And finally, I know not related to Linux, but how can I boot back to XP?
View 5 Replies
View Related
Oct 25, 2010
I know this is the 21st century, but there are a couple of floppies I needed to access and Ubuntu 10.10 couldn't read 'em. The floppy mounted, but with a disk in the drive I get "Media not found"....well, they work OK on Windoze. I found the solution on another forum. The latest version of udisks doesn't read floppies, but an old version will. You can't downgrade udisks from Synaptic, but there's a guide to downgrade here:[URL]It worked great, even for a n00b like me
View 1 Replies
View Related
Aug 11, 2011
I do not have the machine personally but a friend of mine says her netbook with Linux detects the disk in the bios, but can not access it during the live usb. (but it worked previously). I have confirmed this with fdisk as fdisk detects the other devices as /dev/sdb and /dev/sdc, so it knows there is supposed to be a /dev/sda, but it is not there.
View 7 Replies
View Related
Apr 19, 2010
Quick question - I would like to know how to prevent users from accessing directories above the directory used for ftp. I'm running proftpd and I'm able to connect outside of my LAN, however all user accounts can click "Up to higher level directoy" and access everything, all the way up to the root directory. How can I make this unaccessable/not visible to users connecting to my server, allowing access only to the directories and subdirectories I have specified?
View 2 Replies
View Related
May 8, 2010
i'm having some problems booting ubuntu 9.10 and i just want to backup my files and install it all over again.I want to access my old files from the ubuntu Live CD, because no kernel is working.Is there a way?. Just in case, i don't have partitions, so i don't have a 'home' one (but i'm going to
View 5 Replies
View Related
Aug 23, 2010
On a modern system--Lucid, SATA 3.0--does the location of a file on the physical disk make an appreciable difference to its access speed? If so, is there a (safe) way to put a file in a particular place on the disk?
I ask because I would like to reserve some space on disk to remain unused without messing with the partition table. My thought was to do this by using dd to create some large files (4 Gb each, or so) containing zeros.But obviously I would like to put them on the slowest part of the disk, as they won't be used for anything.
View 2 Replies
View Related
Feb 2, 2011
i have one hard disk drive in my ubuntu second user is cant access that drive so wt to do to give access permission
View 1 Replies
View Related
Jul 16, 2011
I'm running Ubuntu 10.04 as a full install from a USB flash drive. In other words, I've installed to the flash stick just as though it were a normal hard drive. This is not a Live USB/Persistent install.
The drive is an off-the shelf 8GB Gigaware stick, and its read/write performance is pretty slow. Any time I do anything that requires disk access, it's very sluggish and tends to hang.
I'm looking for advice on things I could do to minimize the amount of disk-access made in the course of using the system, so that it will feel snappier and more responsive.
Some things I've done already:Installed 'preload', which is a daemon that monitors what programs you use frequently, and pre-loads them into RAM to reduce startup time. Mounted /tmp as a tmpfs (RAM disk) and moved my Firefox and Chrome browser caches into RAM. Set noatime for my root and home partitions.
Should I be trying to disable the filesystem journal as well? I'm less concerned with potentially burning out the flash drive with too many writes than I am with just making the system more responsive and nicer to use.
One other thing I was reading about is the so-called "Laptop Mode" that appears to be kernel settings to allow you to spin down a laptop hard drive: [url]
Obviously a flash drive doesn't spin, but it seems like some of those same techniques could be helpful here. Is there anyone who has experience running Linux in a situation with a very slow hard drive?
The computers I'm using this flash drive with all have between 2 and 8 GB of RAM, so moving more stuff into RAM is unlikely to be an issue.
View 1 Replies
View Related
Mar 14, 2011
I have successfully set up a multi-seat configuration using 2 nvidia cards with 2 instances of X running at the same time. Thing is now, I can't access my external hard drive or any usb thumb drives I plug in. Normally when they would just open up after I plug them it, I get an error saying "unable to mount, Not Authorized". How I can regain access to this? I am using Linux Mint 10
View 6 Replies
View Related
Mar 14, 2010
I am trying to access data that is on a Raid 5 array in Ubuntu... There are 4 installed disks (250gig disks) - 3 of which are setup as a Raid 5 array (the 4th is active but unused). These show up as one large drive (498gig). I have had an issue with the drive where it is no longer allowing Windows to boot - I receive a disk read error on boot (so the OS does not load, obviously!) - what happened was basically I unplugged then replugged in one of the disks which affected the array... I physically reconnected everything as it was, I then had to 'reactivate' the disk in the Raid BIOS... at that point the array seemed OK, was the right size, etc (and was listed as "Optimal" in the Raid BIOS) however, the problem with the disk read error persists.
I have started the machine using Ubuntu v9.10 from a CD (non-destructive mode) and it shows a disk of the right size (ie: on the desktop and in Nautilus it says "498gig Filesystem" ). However, in Nautilus, the disk appears empty with no folders or files on it (even with hidden files shown).... If I view 'Information" for the disk it shows 67gig used space and 399gig free space (which is correct). Also, if I view the disk in Gparted, it shows a disk with about 67gig of used space and 399 free space on a 464gig disk (with 8gig unallocated). One more thing.... when I try the command 'sudo dmraid -tay' it says that there is no raid disk (there are in fact, no drives plugged into IDE or SATA slots - all disk are plugged into the RAID controller card). Anyway, at this stage, I just want to copy the data to a single hard disk if possible and move on.
View 2 Replies
View Related
Mar 22, 2010
I have xubuntu 9.10 installed I need to access MS word/Excell files stored on a disk-on-key. My system does not seem to notice the D-O-K. I guess i need to mount the DOK and specify the MS filesystem (FAT,VFAT etc) What commands should i use. What is the necessary code in /etc/fstab so that it is mounted on boot
View 5 Replies
View Related
Feb 18, 2010
I had very recently installed a new hard drive on my laptop. After installation, I tried to install linux from the CD and followed the instructions. I did not create a partition in the hard drive and carried out the installation procedure. After installation, i tried to start but it would not start...and shows error. I am not sure what I should do ...please instruct me in a step by step procedure to solve the problem
View 1 Replies
View Related
Jun 22, 2011
seems like I killed my softraid. First, my initial setup: 2x 1.5TB SATA disks -> raid1 with mdadm -> lvm -> multiple LVs as luks partition This worked for a while now, even though I made a bad mistake; I created the raid out of the whole disks (instead of creating partitons on them). I didnt notice because it worked...
Now one disk failed, but I could still access the other disk which I moved to another server. mdadm recognized it during boot, after vgscan --mknodes; vgchange -ay I saw the luks partitions in /dev/mapper/ and could mount them via luksOpen. Went well several times, I did not use the disk anymore to avoid killing it also.
Just today when I wanted to move the stuff to my new raid, this way wont work anymore
First of all, dmesg reports a wrong size (500G instead of 1.5T)
Code:
[ 1.943127] sd 3:0:0:0: [sdc] 976817134 512-byte logical blocks: (500 GB/465 GiB)
[ 1.943153] sd 3:0:0:0: [sdc] Write Protect is off
[ 1.943155] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[Code].....
What can I try to get my data back?
View 7 Replies
View Related
Jan 30, 2010
I have a 2GB file which is a dd image of a block device. The block device (a USB-connected flash memory) contains multiple partitions, and therein lies the problem. I want/need to access the various partitions in the image file, but need to do this without actually using a physical flash memory device. If the image was that of a single partition, I could simply mount it on a loop device, and access the filesystem as necessary. However, I can find no kind of virtual block device upon which to write/mount the image.
I've searched the net exhaustively for anything that would seem to allow me to do what I need, but without even a sniff of success. Sadly, I have seen bits of information that suggest "you can't get there from here". Even the outstanding dd tutorial by AwesomeMachine on LQ didn't help. Anyone know of a kind of virtual block device on which a multi-partition image can be written and mounted? Or any other way I can access individual partitions (with various filesystem types on each) and then re-assemble them back to a single image?
View 2 Replies
View Related
Sep 17, 2010
I have installed SUSE yesterday.Everything has been fine except two.1. I can't access my hard disk drives. It says it need to install online some software for it but it can't.I am attaching a screen shot of the error I encounter.2. I have Ubuntu installed in another disk drive but in the Grub menu there in no option to boot to Ubuntu OS.How should I change the text in 'menu.lst' to solve the problem?
View 6 Replies
View Related
Feb 5, 2010
I am dual booting OpenSUSE and Windows 7 Pro x64. Each OS is installed on a separate 1Tb hard drive. One question that I have tried to Google for a solution with no success is, how do you access ext4 from Windows? Shortly after I installed OpenSUSE, my OpenSUSE hard drive "vanished" from Windows 7. aturally, I can access all my hard drives from OpenSUSE, which does support the NTFS. I am quite sure that I am not the only person who has this problem as I know that dual booting Linux and Windows is quite common.
View 8 Replies
View Related
May 8, 2010
I'm having some problems booting ubuntu 9.10 and I just want to backup my files and install it all over again. I want to access my old files from the ubuntu Live CD, because no kernel is working. Is there a way?. Just in case, I don't have partitions, so I don't have a 'home' one (but I'm going to).
View 1 Replies
View Related
Feb 12, 2010
I am investigating full disk encryption and have made a DD copy of the hard drive which has been encrypted, this DD file is stored on my computer for analysis.
First question is - Anyone know how i can access data in this DD file even though its been encrypted?
Second question - Is there a DD command where i can image the systems memory? I ask this because when a system is turned on, to get past the pre-boot authentication stage you need a password. From what i understand, this password will be passed in to ram when power is applied to the system. Making a copy of the memory will also copy the password?
View 5 Replies
View Related
Feb 12, 2010
is there a way to access disk druid once all of the partitions have been created in rhel 5.3?
View 3 Replies
View Related
May 31, 2010
This is Mushtaq here. I am using CentOS 5.3. Everything works fine regarding Hardware Support except of External Hard Disk. I have a HDD Western Digital 80 GB in USB converted case. Its working fine under WinOS, Fedora 10 / 11 / 12 + & RedHat Enterprise Linux. But CentOS is unable to access it even it does not detect it (fdisk -l command is used to verify the connected disks). Can any one please help me in this regard, I am fed-up of this situation.
View 1 Replies
View Related
Mar 1, 2010
I have a hardisk shared on my windows machine. And I would like to be able to access this on my opensuse notebook. Just cant figure it out. Dont have much experience in opensuse. I just need to know the best way to do this. Also, can opensuse read/write NTFS? Also I have a printer on my moms machine that runs XP home. The printer is shared I would like to be able to print but its no biggie. It some type of HP 3 in 1. I just wnat it to print, I dont care about the scanner and stuff.
View 3 Replies
View Related
May 2, 2010
I have installed Kubuntu Lucid on my Samsung NB30 netbook. Got everything working, but the disk access seems extremely slow and noisy. Whenever larger files are being processed (software installation), the disk makes a kind of rattling sound - looks like the head is moving back and forth between two or more locations. The disk seems o.k. so far - no io errors under Linux and Windows XP boots without problems.
View 9 Replies
View Related
Jan 26, 2011
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it has the following configuration.
Code: $> sudo fdisk -l /dev/loop0
Disk /dev/loop0: 10 MB, 10977280 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/loop0 doesn't contain a valid partition table Now what I want to do is develop a c++ program to read & write files to this loop back device,which I'm using to simulate an actual hard disk,at the blocks & sectors level. So far I've come up with the following code. But I'm still unable to read files from the hard disk one block at a time.
Code: #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
char block[512]; int length=0;
cout<<"Implementation of the File Handler Read Method..."<<endl;
FILE *f = fopen("/dev/loop0", "r");
if(f == NULL) {
cout<<"Error In Opening the HardDisk File Retuning Error..."<<endl; return -1; }
//Read One Block of Data to Buffer length = fread(block, 1, sizeof(block), f);
/* Do something with the data */ cout<<"Length : "<<length<<endl;
return 0; }
When I run this Program All what I get is the message for NULL. "Error In Opening the HardDisk File Retuning Error...". So I could open the loopback device as a file an access it at the sectors & block level.
View 1 Replies
View Related