Ubuntu :: Mount A RAID Drive Without Deleting Data?
Jun 1, 2010
I had to recently reinstall ubuntu because 10.04 started acting up on me. I reinstalled 9.04 but I don't know how to mount my RAID drive without messing with the data that's already on there. I have the UUID for the RAID but fstab isn't able to find it. I also previously used RAID software but I don't remember which one I used. how to mount my drive so that ubuntu can see it?
View 5 Replies
ADVERTISEMENT
Jul 18, 2009
how can I create RAID 1+0 using two drives (one is with data and second one is new). Is it possible to synchronize data drive with empty drive and create RAID 1+0 ?
View 3 Replies
View Related
Aug 20, 2009
In a nutshell, our RAID 1 array was rendered broken and we were advised that core lib files were missing and the OS needed to be reloaded... a quote from our server host:"The OS is not healthy.This server will need a reinstall.
Libs are missing." This was after having replaced what we though was a faulty /dev/sdb. So they reloaded the OS (Debian 5.0.2 x86_64) on 2 FRESH drives, and installed the old /dev/sda as /dev/sdc once the reload was completed. Here's the output of /etc/fstab on the fresh install so we know what we're working with:
Code:
debian:/BAK# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]....
The one problem I see myself running into is /dev/md1 and /dev/md2 are currently in use by the new system, so I cannot mount it there. I should also note, reloading the OS is a viable option if needed as we haven't started configuring the server yet. So if we need to reinstall the OS and assign the NEW RAID arrays to something other than /dev/md1 and /dev/md2 then we can do that.
View 3 Replies
View Related
Apr 7, 2010
I am trying to create a RAID data drive for my system but I am having setting it up since I am a total linux noob.
The system has 3 physical HDD-s:
1. 320 GB (has functional Ubuntu 9.10 installation) attached to a PCI SATA card
2. 2TB on motherboard
3. 2TB on PCI SATA card
I want to create a software RAID1 of disks 2 and 3. So far I have used the Palimpsest Disk Utility:
- Created a GUID Partition table on both disks (2, 3)
- Used File -> New -> Software Array, made sure both my drives were included
- Once Palimpsest listed the RAID Drive as a Software RAID Array, I told it to create Ext3 filesystem on it
Well.. at least thats what I thought I did. At this point I have been able to mount the RAID drive and put files on it. However when I look at its information in Palimpsest, I am told that the drive is not partitioned. Both RAId components /dev/sda1 and /dev/sdc1 are reported to be in Sync, but the RAID Drive's own state is 'Running, Resyncing @ 45%' (and lowly growing).
My questions are: Is this a normal setup or did I do something incorrectly? Why is the drive reporting to have no partition? And howcome I can use it if it does not have a partition? I have found the command line based configurations to be a tad too confusing to follow, so I have tried to stick to graphical tools - is this a hopeless cause in Ubuntu or is it possible to achieve what I want to do without command line? I will list some info on my disks below - perhaps this offers more insight to those of you more familiar with Linux.
Code:
mindgamer@mind-server:~$ sudo lshw -C disk
[sudo] password for mindgamer:
*-disk:0
description: ATA Disk
product: WDC WD3200BEVT-0
vendor: Western Digital
[Code]...
View 7 Replies
View Related
Aug 13, 2010
I currently have a 1.5TB sata drive connected to my system, with data already on it. In the next few days I am planning to use mdadm to create a raid5 array with another 2 1.5TB drives along with the one I already have. Is it possible to create the raid without losing the data on my current hard drive? Obviously it will be backed up before hand just in case, but it would be nice not to have to restore nearly a TB of data after raid'ing the drives.
View 2 Replies
View Related
Oct 17, 2010
I was using a Buffalo LinkStation Duo to store pictures and the OS in the unit failed. As far as I know, the data on the two 1 TB drives is fine, and since Buffalo uses a Linux kernel in their LinkStation and the format is xfs, it should be possible to get the data off if I can mount one of the drives on a Linux box. I've put one of the drives into an external USB enclosure and attached it to my Linux system, but I cannot get the drive to mount, probably because it is one element of a Raid 1 array.
Most of what I can find on the Web concerns setting up a new Raid array, not creating an array around a drive that already contains data. I have installed mdadm, and I'm running Mint Linux release 9 (Isadora) on an Intel box. When I run mdadm -D /dev/sdb or sdb6, the device and the partition where the data is located, it reports that the device does not appear to be an md device. I'm not sure what that means. Any help would be greatly appreciated, as I've got around 13,000 photos on these disks that have no backup (I figured what could go wrong with mirrored copies?).
View 2 Replies
View Related
Jun 5, 2010
I have never preformed a rebuild of an RAID array. I am collecting resources, which details how to build an RAID 5 array when one drive has failed. Does the BIOS on the RAID controller card start to rebuild the data on the new drive once it is installed?
View 4 Replies
View Related
Nov 1, 2010
I've just installed ubuntu 10.10 (64bit) on my 1TB drive where as I have my windows drives on a seperate 2x 1TB drives in RAID and am not exactly sure how to mount it.
I am not finding it under computer or under NTFS configuration tool and when I click mount under storage device manager it does nothing, although does detect the RAID array as /dev/sda2
View 3 Replies
View Related
Apr 13, 2009
how to set up a boot partition on the first hard drive separate from two RAID 5 configurations on a Supermicro server with 1-750GB hard drive for the boot partition, and 15-1TB hard drives for data. The 15 hard drives are split into two RAID 5 configurations (7 -TB drives and 8 1-TB drives). I will be installing CentOS 5.2, and the 15 Terabytes of data will store data, and the 750GB hard drive(on port 0) will only have the 100MB boot file. I am using 3ware BIOS Manager to configure the first array of 7 hard drives, and the second array of 8 hard drives (1 drive with boot information will not be included in the array).
to recap, picture this: I want to load CentOS on this server. /dev/sda1 (on the bottom left drive) needs to house the boot partition set for 100MB. The remaining 7 drives (the left half, not counting the boot drive) need to be set up as a RAID 5 array. The eight drives on the right (right half) also need to be setup as a RAID 5 array. After I configure this in BIOS, I run the CentOS setup disk in graphical mode. I get to the portion after the Language and keyboard setup where it says "Installation requires partitioning of your hard drive. By default, a partitoning layout is chosen which is reasonable for most users. You can either choose to use this or create your own. Select the drive(s) to use for this installation". The drives listed are:
"sda 5721980 MB AMCC 9650-SE-8LP DISK"
"sdb 1020 MB AMCC 9650-SE-8LP DISK"
"sdc 714218 MB AMCC 9650-SE-8LP DISK"
"sdd" 6675643 MB AMCC 9650-SE-8LP DISK"
When I choose "Remove Linux partitions on the selected drives and create default layout." or any other option, I get different errors. I notice when configuring via text mode I get better options to install. I can't install the boot drive separate from the two RAID configurations?
View 3 Replies
View Related
Apr 21, 2010
I am trying to setup my ubuntu machine to automatically log some data I am trying to collect and write the data to a flash drive. I have everything setup so that when the machine boots up it starts that logging process. The problem I am having is that sometimes (not always) ubuntu creates a directory with the same path that I expect my flash drive to mount to i.e., /media/data/ then my flash drive instead mounts to /media/data_/. I need to know the path of the flash drive so I can store my data on it.
View 2 Replies
View Related
Nov 1, 2010
I accidentally formatted a 2TB drive of mine (big oops), but have recovered 2 of the 3 partitions using testdisk. My third partition is a LUKS encrypted partition. Testdisk managed to recover a piece of it, but it won't mount as most of it is unallocated. The partition originally occupied all space from sector 2,930,272,065 to the end of the disk -- sector 3,907,024,064. That is about 473 GBs. Currently, the partition only uses space from sector 2,930,272,065 to 2,930,288,129, about 7.84 MB.
The rest of the space is unallocated. Now what I need to do, is to expand the partition so that it occupies all the space that it used to. How would I do this? I cannot resize the partition, cause it would try to recreate the filesystem AFAIK and I don't want that, as it will fry my data. My data is not terribly important, but I would rather have it then not. I attached a screenie of kpartitionmanager. The partition in question is /dev/sdb2.
View 4 Replies
View Related
Mar 15, 2010
I want to mount the old partitioned drive with all my data as a slave and then transfer to the new system. Have fiddled around with settings in fstab without the required result. As I remember, disk was partitioned with home, root and swap.
View 5 Replies
View Related
May 3, 2010
Dropbox will not start properly because my Lucid installation is on a SS HD (/dev/sdc) but my data, including my Dropbox folder is on an internal NTFS-formatted HD (/dev/sda), and I also have another internal HD for backups (/dev/sdb).
For some reason I can get the backups HD to auto-mount on startup, but not the data HD. My fstab file looks like this:
View 3 Replies
View Related
Mar 23, 2010
I had a drive that kept kernel panic'ing so my data center recommended using the spare hard drive to reinstall OS on, and import the data from the old drive. (they checked the hardware, it wasn't the hardware) The new install is done, and I need to mount the old drive and get backups off it since my data center does not provide management whatsoever.
It's the same OS on both (Cent OS 5.4 32-bit) I'm an advanced user on windows, but linux gets me. I can ssh in, do basic stuff like setup IP ranges and restart services. I normally navigate the box through SFTP so I have a gui. WHM shows me my drives as such
Found Disk: hda
Found Disk: sdb
so I'm assuming SDB is my old drive and the drive I need to access. I attempted to follow instructions on
cyberciti.biz/faq/freebsd-adding-second-hard-disk-howto/
but I'm assuming FreeBSD would work differently and I wasn't totally sure what the labels of the file systems should be.
View 1 Replies
View Related
Jun 12, 2010
I just installed F13 x86_64 on a system that used to be running Windows 7.
The boot drive is a SATA drive attached to the motherboard which is working fine.
However, my data drive is an NTFS partition filling a 3.6TB SATA raid.
It's GPT--Gparted sees 3 unknown partitions, and gdisk shows:
Code:
How do I mount this in Fedora 13? I had intended to shrink the NTFS partition so that I can create an ext4 partition to move the data to. Will this be possible?
I've got a LOT of valuable data on this drive, and nothing else big enough to store it.
View 3 Replies
View Related
Jul 27, 2011
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.
View 1 Replies
View Related
Apr 4, 2010
Playing with the Box, I deleted a Raid-0 partition intentionally, saved it, and reboot drops me to (Repair Filesystem#) prompt. I notice during boot-up that the box didn't find /dev/md0, which is expected.
So what's the recovery procedure, since I can't edit #/etc/fstab, permission denied.
#fdisk -l
shows all other partitions.
Not much familiar with fsck/e2fsck, yet like to give it a try.
View 2 Replies
View Related
Mar 18, 2010
Is there any way to install ubuntu on a drive without deleting the current data on it:
I have a software raid array set up and it has a few folders in it like /rtorrent, /cod4, but nothing that would conflict with a new ubuntu install.
And its formatted as ext3
Is there any way I can install Ubuntu Server 9.10 onto that raid array keeping it INTACT as a raid array AND preserving the data on it?
And is it easy to boot from a software RAID array?
View 2 Replies
View Related
Aug 20, 2009
I'm pretty new to linux, and I'm facing a problem with an ext3 partition on an external hdd. I'm not sure whether the hdd is about to crash or not, however I've had a few problems accessing it in the past.
I have a second external hdd, the exact same drive, that has the exact same partition configuration, but holds different data. So, my question is; is it possible to backup the partition structure of the second working drive, and using this information to rewrite the partition structure of the failing hdd without damaging the data stored on that drive?
View 2 Replies
View Related
Mar 22, 2011
How long does hardware Raid card (raid 1, 2 drives)take to mirror a 1 TB drive (500gb used)?Is there a general rule of thumb for this?4 hours? 12 hours? 24 hours?
View 1 Replies
View Related
Oct 9, 2010
I have a bad mount point, I had some mounting problems before, and made this wrong entry, when I mount the volume it works but then the system tells me the hard drive is empty, which is wrong and some kind of error.
My problem here is pretty simple, this point is in /media, but it disappears when the volume is unmounted. I want to delete it and re-mount using the storage device manager, which hopefully will solve the problem.
So how can I delete this entry when it disappears? I don't really want to delete it while the volume is attached and mounted.
View 9 Replies
View Related
Jun 22, 2015
This is a continuation of the post in [URL].... . What has happened is that I have a huge log of 600 MB + and do not know from when the data is in there.
Code: Select all┌─[shirish@debian] - [~/.config/quassel-irc.org] - [9714]
└─[$] ll -h quassel-storage.sqlite
-rw------- 1 shirish shirish 647M Jun 22 21:15 quassel-storage.sqlite
So I need to know if there is a way to get just the first five or ten entries listed as one can do using head, tail etc. I did try just using head but it was unsuccessful. The second thing would be deleting some days, weeks or months data from the existing sqlite log. I did see URL... but in my case I am deleting old entries in the sqlite log and also do not know if sqlite makes backups of the data or not ?
View 4 Replies
View Related
Jan 10, 2011
I copied a back up of my windows 'my documents' fold and all of its' sub folders into my linux (Mint Debian) Documents directory. I found that many of my files can be found in more that one directory so, what I want to do is to find all the dups and deal with them. Is there a good linux application to resolve this 'duplicates' problem. (I don't want to touch the linux system files.)
View 2 Replies
View Related
Jul 14, 2010
A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee
[code]....
Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:
umount /data/
umount: /data/: not mounted
If I want to mount the volume I get the following error:
mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy
View 3 Replies
View Related
Feb 16, 2011
Ok so basically this isn't my harddrive but hear me out. It's a known issue but it only happened after him downloading stuff off priate bay. The harddrive is not detected on BIOS, so you can't boot through it, just the CD Drive is now detected. You can't use SAFE mode as it reverts to another issue, a black screen with a white cursor, no keyboard commands work.
No restoring disks will fix it nor master disks, it's literally a bad *** issue. Thou I can still load things via CD Drive so I used the Acronis Bootable Media and surely enough, it could anaylse data on the harddrives. I thought maybe i'll try PE Bart but once again, loads up to Black screen with White Cursor. So I put in Ubuntu and yes, I can get on the GUI, but I can't install the operating system.
There would always been an issue. something about in/out whilst installing but as long a I can use the tools, then we go onto Disk Utility. When I try to format, the Error Message apprears stating : Eroor creating File System: helped exited with error code 1: Error calling fsync(2) on /dev/sda2: Input/Output error. This would be the same error i would get via installing and I would have to ignore and eventually whilst installing, from being complete on the right hand side, it would say ERROR or ABORTED after 70,000.
View 9 Replies
View Related
Jul 8, 2010
When I delete files from my usb flash drive on my Karmic laptop (press del key), the properties of the drive remain unchanged (available space/used space). It looks like the files/folders have been deleted, but when I go to my windows machines, the files and folders are now in a folder marked "Trash".Am I missing a step when attempting to delete the information when connected to my ubuntu laptop?
View 3 Replies
View Related
Feb 13, 2010
Just moved to Ubuntu from XP. Whole process has gone very smoothly, but left with a small problem (i.e. it isn't actually affecting usability) that I don't seem to be able to fix and can't find on forums/internet. I also have a problem with the Floppy drive, but I've seen that problem elsewhere in the forums.
It's a dual boot system with both NTFS and Ext4 drives. All are visible and fully accessible. I decided to convert one of the NTFS drive to Ext4. That appeared to be successful and was successfully remounted as an Ext4 drive. The drive label is "Data". I did have a bit of a problem getting it remounted so that I could see/use it under my log-in as opposed to just under root. It's at this point I think that I did something to create the problem.
I now have two entries for "Data" in drop down menu for Places. The true one is shown as a standard hard drive icon, but the false one is shown as a different icon - possibly an external drive icon (note that the floppy drive is also showing as the same icon and I can't access that, but I've seen that's a problem elsewhere in the forums).
I can write and read to the true "Data" hard drive. If I click on the other false "Data" icon, I get the message "mount: /dev/sdd1 already mounted or /media/Data busy mount: according to mtab, /dev/sdd1 is already mounted on /media/Data". If unmount the true drive and try to mount the false drive, the system mounts the true drive instead. If I log into nautilus as root, neither the false data drive or the floppy appear in the left hand panel.
View 9 Replies
View Related
May 30, 2010
My trash won't delete and it is causing me to not be able to use my flashdrive. When I tell my trash to empty it will either say it will but the files will still be there or it will say a can't b/c i didn't delete it from my trash(screenshot). I don't know what to do to get it to get rid of the files since I tried telling it to bypass the trash and that didn't do anything.
View 9 Replies
View Related
Feb 19, 2010
I recently bought a Buffalo 500GB ministation usb with "optional disk encryption". Turns out, I'm having one hell of a time trying to remove the "optional" from the drive. I figured I could just delete the program that is on the disk, and go on my way. That doesn't seem to be the case.
fdisk /dev/sdc1, then "p" showed that there were 4 partitions. So I deleted them one by one. "n" gave me a new partition. "t" I used 87 because I will be using it on windows. Then "w" to write everything.
mkfs -t ntfs /dev/sdc1 - all went well.
fsck -f -y /dev/sdc1 - all went well
Then I took the removed the drive and plugged into Windows only to find that the "optional" is still there. It actually creates a virtual drive with the "optional" software. So I tried it over again. I tried fdisk only to see that the partitions were back (as if they were never removed). I removed them again, and used primary partition as linux and wrote to disk. As a hunch, I checked permissions. Can't remember what it said, but I did change them.
chmod 777 /dev/sdc1
Then in a last hope of desperation, before coming to work today, I decided to dd the drive.
dd if=/dev/zero of=/dev/sdc1 bs=4k conv=notrunc
Is it possible that the "optional" stuff is actually hard coded onto a chip, or something inside the drive and I may never get rid of it?
View 14 Replies
View Related
Aug 11, 2010
So I've pulled two hard drives out of my busted windows xp system (dead mb) and I'm trying to get some data off of them. The drives are in raid 0, so my friend told me that I might be able to do something if I use linux. Some late night searching on the internet directed me to a few resources, one of which was this forum. I've tried 2 methods, neither of which have worked.
1. mdadm
ubuntu@ubuntu:~$ sudo mdadm --detail /dev/sdb
mdadm: /dev/sdb does not appear to be an md device
2. dmraid
ubuntu@ubuntu:~$ sudo dmraid -s
/dev/sdb: "sil" and "hpt45x" formats discovered (using hpt45x)!
ERROR: sil: wrong # of devices in RAID set "sil_agafdhcebccj" [1/2] on /dev/sda
ERROR: removing inconsistent RAID set "sil_agafdhcebccj"
[code]....
I've got some files for work that I'd really like to get off there. I've played with unix a bit in college and I've ran ubuntu before, but usually using the GUI, so a lot of this stuff is over my head. But from what I gather, my system thinks that one of the drives isn't a raid drive?
View 2 Replies
View Related