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.
So the first 10Gb of a 450GB NTFS partition have just accidently been written over with an Ext4 filesystem that spans the entire partition instead. all foolishness asside, what can be repaired. Now I know Ext4 likes to jot bits of meta-data down (inodes blocks) along the way, and this can be about 5% of drive capacity, that said, there's alot of small text files and stuff, coe files so forth that can surely be recovered
I've looked into magicrescue and testdisk, but they fall into the only two groups to exist: 1) Filesystem independent, that is search almost like a patern - well exactly like a pattern match, to find the header and footer of files. 2) Filesystem recovery tools, like, damaged bootsector, so forth
I need one, that will be able to extract files, Iunderstand this will be a hard task, but.... text files; surely that'll be easy, anyway. This is my backup drive, they''re both WD you see, anyway. This is important, given the coding is ASCII surely.
Just ran into an uncomfortable problem. I usually never save any documents on my machine, and keep all my stuff on an external USB hard disk. (an 80GB TrekStor DS microdisk q.u) Well yesterday this disk just would not mount. Read through related posts but nothing seemed to work. Even tried it on a Windows machine.
Tried TestDisk utility. Found nothing wrong with the drive, but still could not repair the MBR.log code...
Palimpsest Utility recognized the drive, but just will not let me do anything with it except format it.
How can i repair the partitions and MBR without losing all my data?
When i work in Ubuntu on a dual boot system with a shared NTFS data-partition where Windows is hibernated, and then reboot and continue working in Windows from the hibernated sesion, strange things happen. Files disappear, files that i worked on suddenly have the content of another file.
So I have a system that is about 6 years old running Redhat 7.2 that is supporting a very old app that cannot be replaced at the moment. The jbod has 7 Raid1 arrays in it, 6 of which are for database storage and another for the OS storage. We've recently run into some bad slowdowns and drive failures causing nearly a week in downtime. Apparently none of the people involved, including the so-called hardware experts could really shed any light on the matter. Out of curiosity I ran iostat one day for a while and saw numbers similar to below:
Some of these kinda weird me out, especially the disk utilization and the corresponding low data transfer. I'm not a disk IO expert so if there are any gurus out there willing to help explain what it is I'm seeing here. As a side note, the system is back up and running it just runs sluggish and neither the database folks nor the hardware guys can make heads or tails of it. Ive sent them the same graphs from iostat but so far no response.
I've got a raid5 array of 4 disks with ubuntu 8.04 runing on it that is currently still working:
/dev/sda /dev/sdb /dev/sdc /dev/sdd
Smartmontools for /dev/sdc tell that there are 9 sectors pending for reallocation:
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 9 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 9 And /dev/sdd has increasing number of reallocated sectors (about 1 every couple of minutes):
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 1735 /dev/sdc has failed a coulple of times this week (but I have always sucessfully readded it to raid5) . But the increasing number of reallocated sectores on /dev/sdd concerns me even more.
I'm affraid that during removal of /dev/sdd and adding new /devs/sdd disk, raid might fall appart. That's why I would try to do it in Ubuntu Live CD:If the raid falls appart (/dev/sdc fails) during the readding of new /dev/sdd disk, I might still remove the new /dev/sdd and return the previous one and assemble the raid with:
/dev/sda /dev/sdb /dev/sdd (old one that was previously removed)
Does assembling Raid in Ubuntu Live and adding new disk for /dev/sdd write anything on /dev/sda, /dev/sdb and /dev/sdc in the process of adding /dev/sdd into raid5?
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?
I have acces to NTFS partitions from OpenSuse 11.2, and read data, yet I cannot write changes of it. I tryed to change "rw" attributes using "sudo", and was not possible. Even the windows version I had is 7, the NTFS partition I want to access for writing, comes from a previous XP install. Is there a way to have "write" access for data stored in NTFS? I recall an install I had on a laptop with Windows XP and Ubuntu... and Ubuntu was able to write on NTFS; would it be possible in OpenSuse?
Right now I have a 320GB system drive and 3TB data drive. I want to add two more 3TB drives and do a software RAID5 3x3TB. Is that possible without losing the data that is already on the data drive?Just want to make sure before I bought the 2 two drives. Not looking for instructions on how to do it,but if you want to include some that would be great too Just making sure it will work.
my Fedora 11 system is not starting anylonger. It stops with the message:
VFS: Can't find ext4 filesystem on dev dm-0
The system told me since a while, that a lot of the sectors of one disk of the (software) RAID compound are failed already. So tried to disconnect each of the disks and start them separately. Unfortunaltly this is not working (for one its is not working at all, the other wents the same far as with both), when I tried to recover the system with the Fedora DVD, it said no distribution found. I am quite new and do not know so much about linux system, so i do not know what further information you could need. Maybe it can be important, that both disks are encryped (the system wents so far, that I can type in the password).
I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?
I had done a new lucid install to a 1 TB RAID 1 array using the alternate CD a few weeks back. I messed up that system trying to some hardware working that lucid doesn't have drivers for yet, so I gave up on it and reinstalled to a single 80 GB disk that I now want to move over to the RAID array.
I moved all of the existing files on the array to a single folder, then copied all of the folders from the 80 GB disk over to the array with permissions and symlinks (minus the contents of /proc and /sys, which I created empty).
These are the commands I used:
p -a -d -R -v -t /media/raid_array /b* cp -a -d -R -v -t /media/raid_array /d* cp -a -d -R -v -t /media/raid_array /e* cp -a -d -R -v -t /media/raid_array /h*
I tried to change fstab to use the 689a... for root, but when I try to boot, it's still trying to open /dev/disk/by-uuid/412d...
So then I booted from the single disk again and chrooted into the array, then ran update-initramfs -u. I got 3 "grep: /proc/modules: No such file or directory" errors, and "cat: /proc/cmdline: No such file or directory"- so I created directory /proc/modules, created an empty file /proc/cmdline, and ran the initramfs update again. Then I tried to shut down, which hung (probably because I was doing all of this from a terminal window in Gnome), so I killed the power after a couple of minutes.
It's still trying to use /dev/disk/by-uuid/412d... to boot.
What am I missing? I assume I just have to change the UUID to mount as root, but I don't know how.
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.
We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system.
Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd.
My studying suggests to me that I can get into this database with MySQL. I have never used this and have no clue how to do this. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can expert suggest one or two things to get me started. While a guided tutorial would be nice because I am not an expert, I am willing to learn on my own if someone could point me in the right direction.
I have a raid 5 array formatted with ntfs; My Ubuntu OS is not able to recognize the raid 5 array but my windows 7 OS can. I had this working before when I installed ubuntu via wubi but now since i installed it as a dual boot OS I am having issues trying to mount this raid 5 volume. So far i have tried reinstalling the dmraid, ntfs config manager, and storage device manager however nothing seems to help me recognize my raid 5 array.
P5N32 E-SLI PLUS MOTHERBOARD: RAID 5 ARRAY NTFS with NVIDIA's raid chipset that comes built in with motherboard.
I'm trying to resize an NTFS partition on an IBM MT7977 Server. It has a Adaptec AIC-9580W RAID controller. I was thinking about doing it with a gparted LiveCD/LiveUSB, but then I realised that they won't have drivers for the RAID controller. A quick google for "9580W Linux" doesn't return anything promising.
I'm now having to access a lot of data on a portable hard drive on a regular basis. The drive needs to be used with three different Windows systems, three Ubuntu machines and two slackware units. The data is backed up once per week.
I have been using Ext2IFS to access the data (stored on Ext3) from Windows but keep having problems. Obviously Ubuntu and Slack have no trouble reading or writing to the drive. Additionally, some sensitive data will be put onto the drive shortly and I would like to encrypt it.
What is the best solution here? Is NTFS reliable enough and is data access and writing reliable enough from Linux? Can I encrypt NTFS and still leave it accessible by Linux? What is the best software to encrypt the drive with (if I can) that is accessible by both Windows and Linux?
an operator saved a file with a ':' in it, creating a file stream (new concept to me). I'm wondering if anyone with wisdom can point me to know how to get the data from that file piped into another file.. i.e. he saved as "wrong file: rest of wrong file title.wmv"
so first, can this be salvaged in ubuntu? ..how? ..
I have recently installed ubuntu 10.04 aside to my windows 7. One thing I tried out was to share firefox and thunderbird profiles. I have a separate NTFS partition for sharing stuff.Everything seemed to work fine. I had all my browsing history and bookmarks and emails shared nicely between windows and ubuntu. But now I have managed to lost data twice already (in one week time). The data itself is not so important (no need to recover it). But I'm just curious, why is this failing?
I use firefox ProfileManager (firefox -ProfileManager) to create a new profile. I did it in Ubuntu. I created a new folder on my Share partition and pointed profile there. Everything works fine. Profile is saved there and I can use it in Ubuntu. Now, after I shut down Ubuntu and go into Windows 7 (which was hibernated the whole time), the given folder is gone. And in Ubuntu, the folder is also gone.There are some other folders, which I created during my Ubuntu session, which are not visible in Windows, but are visible in Ubuntu.Does any one have any suggestions, how to make sharing data possible? Or why is my data getting lost.
I am using rhel4 with kernel 2.6.9-55 ELsmp. I have recently purchased 250gb seagate portable usb HDD. I have already mounted the usb HDD by updating Kernel with mode 755 and root user. I can transfer file from usb HDD to rhel system. But I am unable to make directory or copy file from rhel4 file system to usb HDD with ntfs. It is giving error message of permission denied though the device having write permission. I have already installed ntfsprog-2.0.0 in root. But there is no improvement. Is there any thing I can do to transfer data from linux system to ntfs.
On my system I have two internal SATA Disk drives, the first one is 120GB and the second one 360GB.
120GB Disk: 1st partition: NTFS (22GB), Windows XP is installed, for playing my games. 2nd partition: NTFS (62GB), The "GAMES" partition, where all the games are installed 3rd partition: EXT4 (25GB), Ubuntu Karmic 4th partition: SWAP space
The 320GB disk is a single NTFS partition, where all my data/files are stored. A couple of days ago I used GPARTED to shrink the 320GB partition and create a new 2GB FAT32 one at the end of it. (Never had any problem before using GPARTED for any filesystem). I put in there some old dos games and rebooted to windows. Then I formatted a diskette as MS-DOS startup disk. I rebooted the computer again and and booted from the FreeDOS LiveCD. After playing for a while I tried the MS-DOS disk, to see if it performed better.
Now Windows XP does not recognize the DATA and GAMES partitions, buts recognizes the fat32 one. In ubuntu they work, but when I try to fix them, it says "run chkdsk". Windows does not recognize them so I cannot do this. I tried to restore Windows XP from a Norton Ghost Backup image file, but its LiveCD does not recognize these partitions either (norton ghost 12 uses vista to boot the live cd).
I'm using windows 7 now and I want to install ubuntu as the main OS to the current C:drive(which has installed windows currently) but with keeping the data in other ntfs drivers(D:, E:, F: ) on my hard disk. I can't take backups of all data in other drivers and if that data erased with ubuntu installation I will face a very big problem in future. So how to install ubuntu 10.10 only for a one drive(c: drive) without erasing the data on other ntfs drivers? and I uses nvidia 8 series graphic card and are there any special things to follow to install it's official linux drivers(.run) or is it enough to use default drivers on ubuntu.
I have a 1TB External HD that at the time of purchasing was used with my PS3 which only allowed FAT32 HDs. But now I am using it for other uses. I have came across the problem of the file size limit of 4gb that FAT32 has.The problem is I have about 200 GB filled of data on this HDD and wish to convert it to NTFS with no data being lossed. Is this possible and if so how?
I have a windows install that is totally hosed, bluescreens, etc. I want to try to force mount it from Ubuntu to get whatever data I can, but it won't allow me to mount. It keeps telling me to run chkdsk /f and reboot twice. But that's not possible. I was wondering if there are any ntfs tools for Ubuntu or any data recovery tools I can use to get what I can from this drive.
You'd think that with two backups of all my data, which are syncronised twice weekly - that I'd be pretty safe. Fine and good until in a reorganisation of my documents folders,I delete a bunch of files - and don't notice until after I've run the backup - so they're deleted from the backups as well. Cue me beating myself around the head with the keyboard a few times about a week later when I realised.I'd advise against doing that if you have a keyboard like the IBM Model-M - it hurts.Okay, so I figure it's at least worth having a stab at recovering this data. The external harddrive's not had anything written to it since then, so is probably the best candidate. It's formatted as an NTFS volume (1.5Tb).
Now, I DO have a copy of R-Studio for Windows which I bought and paid for a few years agowhen XP managed to destroy itself and the file structure on the harddrive when it fell over installing SP2 (this was the event which lead ultimately to me switching to Ubuntu).I've found this to work quite well, though the initial scan does take a while.nfortunately, it does NOT seem to work from within Ubuntu through Wine. It runs, but can't see any drives. The only Windows environment I have access to now is Vista, andR-Studio seems to hang after running for an hour or so under Vista.
Are there any tools - preferably simple enough that I can get my head around them - which I can use from within Ubuntu to have a scrub through an NTFS drive to look for and otentially recover deleted data? I've found several tools which claim to recover things from ext3/4 drives from Windows - but not the other way around!There are a fair selection of filetypes involved here, some word documents, probably most of interest to me though are some old videos, mostly <5Mb taken on my old phone camera from university. Nothing really mission critical...but memories nevertheless.