Ubuntu :: Encrypt System Drive - RAID 1
Feb 22, 2011
1- I want to encrypt my system drive
2 - I want to make my system drive a RAID 1
3 - I have two 1 T hard drives, but I would like to be able to add two more 1 T hard drives for a total of 4 1T drives in the future. How do I do that?
I am using ubuntu 10, desktop edition. I have not added the OS yet, I am building this weekend.
View 2 Replies
ADVERTISEMENT
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
Jul 10, 2010
After months of using Lenny & Lucid Lynx without issues, I come back to the good existential questions.
I'd like a completely encrypted disk (/ and swap) in addition to the Xp partitions (not that safe but I'll switch completely to Linux once I have solved everything.
1. I create an ext4 partition for /boot
2. One other (/dev/sda7) that I set for encryption,
3. On top of that, I create a PV for lvm2,
4. I add to a VG,
5. I create / & swap in the VG.
However, if I add a hard drive, I will have to encrypt the main partition, add it to the VG & then expand /. So I'll need 2 passwords at boot time to decrypt.
So I'd like to:
-Encrypt the VG directly, it would solve everything but no device file appears for the VG, only the PV and th LV.
-After hours of search, I couldn't find a solution for a single password...
Maybe a hope with a filesystem like btrfs in the future providing encryption, but I'll still have to create a swap partition out of it (or create a file for swap but no hibernation possible).
View 3 Replies
View Related
Mar 12, 2010
I would like to setup a CentOS file server with LVM and Raid1. Having 6 x 500GB drives, 4 x 1GB Ram and a Quad Core Cpu, I am considering to configure 3 hdd as LVM then raid 1 to the remaining 3 hdd's.
View 7 Replies
View Related
Jan 6, 2010
Here is my system: I have dell poweredge 1950 PERC 6 with 300 GB raid system. It has two disks of each 300GB RAID mirrored system. I have few applications and data that reached around 280GB. As you know, poweredge 1950 we can have only two disk.
They are not mission critical. Hence, I wanted to remove the raid system and use as a non-raid system. By doing it, The applications and data can grow upto 600GB. I do not want to loose the data and setup. I am not so clear about RAID system and its conversion.
View 6 Replies
View Related
Jan 17, 2010
I want to have a "Private" folder on my flash drive. How would I encrypt it so that it asks for a password when you try to open it?
View 1 Replies
View Related
Feb 16, 2010
I loaded Ubuntu desktop onto my flash drive with the USB Installer For Ubuntu from [url]
I'll be placing sensitive data on the drive & need to figure out how to encrypt it. From what i've read so far, the easiest way will be to encrypt the swap, /home, tmp, temp files. Not quite sure how to do this. I'd prefer to encrypt the whole drive, but this seems quite complicated.
View 5 Replies
View Related
Apr 18, 2010
Folks:What can I use to encrypt all data on my USB flash drive? If possible, could I use something that has a public Key, so I do not have to type in a password to access the information when I plug the drive into my machie, but will not open or display contant if the drive is plugged into anyone else's machine, unless they have the public key?
View 7 Replies
View Related
Nov 5, 2010
So what I want to do is encrypt my entire hard drive, but heres the thing.
I dual boot Ubuntu and windows 7, but I am afraid that if I use truecrypt to do the encrypting that it will wipe GRUB and not allow me to boot into any OS, is that a possibility and is there a way around it?
View 7 Replies
View Related
May 31, 2011
I have a headless ubuntu server (10.04 x64) in the attic that I use as mostly as a file server for media streaming and backing up other PCs on the home network. The box doesn't have a display, keyboard or mouse connected and is in a location where it's physically difficult to get at.
I'm mostly looking at a solution to protect the system if it were physically stolen(hopefully this is very unlikely) so that I could have a reasonable confidence that no one could boot a live CD and steal any private documents on there.
I don't feel like I need to encrypt the root file system (and I don't want to reinstall!) as most of the data on the system isn't sensitive (MP3s, video files etc).
I would like to protect the backups of the other systems as they have some personal documents etc on them,
I need to also balance this with convenience as I need the backups to continue to be automatic or they most likely won't get done at all.
Currently I have a samba share called "backup" that is password protected and points to /media/backup where a 2tb drive is mounted, this drive is used just for backups from the other systems so I would like to encrypt the whole drive.
I realise that I can't have the drive mount completely automatically as it will then be accessible to anyone who can boot the box. The compromise I would like would be that the drive is encrypted and then either:
1.) I log in via ssh and enter a command to mount the drive which prompts for a passphrase - drive stays mounted after I log out until manually unmounted or the system is rebooted
or
2.) On boot something runs automatically which then prompts me for the passphrase when I next connect via ssh - again the drive stays mounted after I log out until manually unmounted or the system is rebooted
I would prefer 2 as then I am less likely to forget to mount the drive after a reboot.
I have seen several tutorials using LUKS to encrypt the drive and manually mount but am wondering if it's possible to achieve 2. Also wondering if there are any implications for samba if the drive is not available straight away at boot, would I need to restart anything after mounting the encrypted drive for example?
View 8 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
Jan 8, 2010
I Have shell script like this
Code:
#!/usr/bin/expect
set password "XXXXXXXX"
[code]...
View 13 Replies
View Related
Jun 29, 2011
migrate an installed Ubuntu system from a software raid to a hardware raid on the same machine? how would you go about doing so?
View 1 Replies
View Related
Jan 17, 2010
Is the encrypt system during the install part of the SE Linux or is a whole other thing and another question maybe a sounding a little conspiracy but SE linux is made by the NSA can I trust SE linux and it not be a backdoor to my stuff
View 4 Replies
View Related
Jun 12, 2010
I have two 1TB hard drives in a RAID 1 (mirroring) array. I would like to add a third 1TB drive and create a RAID 5 with the 3 drives for a 2TB system. I have ubuntu installed on a separate drive. Is it possible to convert my RAID 1 system to a RAID 5 without losing the data? Is there a better solution?
View 1 Replies
View Related
Jul 8, 2010
i have a centos 5.4 without desktop environment. i can only access certain system settings via browser (and of course console). i would like to encrypt some folders. but these folders are used by the system. can i encrypt them? will the system still be able to access these folders? if yes, how can i encrypt only through console or is there something web based software for this?
View 12 Replies
View Related
Jan 6, 2011
I want encrypt my fedora file system.
How to i can encrypt ext3 or ext4 file system.
View 5 Replies
View Related
Jul 11, 2009
I recently installed Fedora 11 64bit and I am curious about encrypting my entire file system for security purposes. I've been on Google for a while now and I keep finding info on how to encrypt a specific folder or home directories but nothing on the entire file system (or I'm missing something big here). It's hard for me to imagine that it isn't. If so, do I need to encrypt the partition my file system is on before installing it? What software should I use? There seems to be so many, it's difficult to keep them all straight.
View 5 Replies
View Related
May 30, 2011
I'm trying to write a GUI text encryption application. I wrote the encryption system in a No GUI application like this::
[Code]...
Now I'm trying to write a GUI version, using the same algorithm. Here goes a rough image of my main window code. If you scroll down you'll observe a coloured part. As you see, the text in the first textbox gets copied into clipboard. That is the part where my encryption system should encrypt the data in the clipboard, and copy it again, and later on the new data will be pasted. How am I supposed to write that? If I have to use another signal, what is the receiver of that signal?
[Code]...
View 5 Replies
View Related
Jan 3, 2011
my linux server is running with an old IDE hard drive getting these hdparm results:
[code]...
i have a WD Raptor drive i'm going to install and put a fresh install of linux on it. i'm just curious, will using a much faster HD as my main drive increase the speeds of my network transfers from the raid drive? do transfers only go as fast as the system drive?
View 3 Replies
View Related
Mar 24, 2011
I have a box that doesn't have a Raid controller or a software raid running currently. I would like to make it a RAID 1. Since it seems there isn't any IDE RAID controllers hardly around, I have another HD that is the exact model as the drive currently in the box running CentOS. Can I some how add the second drive and get the box to mirror from here own out? The box gets really hot and I want to be ready for a HD failure.
View 3 Replies
View Related
Jan 19, 2011
I have (had) Debian Testing running on a 250GB IDE hard drive, partitioned normally.
I also have 4x 1TB drives in a raid 5 using mdadm, and 2x 500GB drives in a raid 1 also with mdadm.
I put the two arrays in lvm using:
I then used "lvcreate" to make storage/backup 300GB, and the rest went to storage/media (approx. 2TB usable). I put an xfs filesystem on both and mounted them.
All was working fine until the system drive shorted out and died on me this morning. As far as I can tell, all my other drives and everything else is fine. I do a daily rsnapshot of the filesystem, which of course is residing on storage/backup (stupid, I know). So I have full backups of everything, but I'll have to put a new hard drive in and reinstall Debian before I can restore everything.
I've reinstalled before and simply reassembled mdadm arrays and remounted them before with no problems, but this is the first time I've used lvm, so I'm not sure what I have to do to restore everything. Is it as simple as reinstalling the system then doing a:
View 4 Replies
View Related
Feb 1, 2011
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
I was able to examine the disks though:
Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....
Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
View 4 Replies
View Related
Jan 26, 2010
I have 4 1.5 TB Seagate drives configured in RAID 5 via mdadm on Karmic. It seems that after a while, one drive always drops out of the array. It's a brand new drive, and after a reboot, it will come back in and rebuild just fine, so somehow I doubt the drive is actually failing. Here's a dmesg snip. The mounting that happens at the top is the mounting of the array, and as you can see, after a while, there is some kind of write failure.
[70178.385356] EXT3 FS on md0, internal journal
[70178.385373] EXT3-fs: mounted filesystem with writeback data mode.
[95234.954141] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[95234.954160] ata5.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[95234.954162] res 40/00:00:c6:66:a8/00:00:ae:00:00/e0 Emask 0x4 (timeout)
[95234.954168] ata5.00: status: { DRDY }
[Code]...
View 1 Replies
View Related
May 27, 2010
I kept my movies on a 2 drive software raid1 mirror, but now I changed my mind about needing a raid and pulled one of the drives for another use. Can I convert the remaining raid drive back to a regular single drive and keep the data in place? Can I change the raid partition back to regular partition and be able to mount it?
View 6 Replies
View Related
Sep 20, 2010
I intend to install ubuntu server 10.04 on an IBM blade server x3550 m3. The server has two SAS and two SATA II hard drives, each configured as RAID 1 through a ServeRAID m1015 card. However, ubuntu didn't recognize any hard drives at the installation.
Is there a way that I can load raid driver (if exists) during installing Ubuntu?
View 5 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
Nov 3, 2010
After keeping my old (laptop) computer going for 8 years, I've finally taken the splash and ordered myself a new PC, well the compoents any way to build myself a desktop this time.
I've just got a couple of questions.
I've got a 60GB SDD and a 1TB HDD. On the SDD I was planning on partitions for Ubuntu Swap Window partition, to run a Virtulisation, not dual boot.
Performance wise, is it best to install / on the SDD and /home on the HDD or /home on the SDD as well and just move music and videos ect to the HDD.
Just to complicate things, when ordering the HDD there was an offer to get a second 1TB HDD for an extra 11, so now I have 2. I was planning to set these up as RAID 1, which I believe I can do via the alternative install.
What would be the best way to then backup / . I guess it must be possible to schedule an image of/ to be copied across to HDD is it?
I did hear that RAID was a bit iffy in ubuntu, but looking about on the net things seem to be better 9.10 → Also the boot disk isn't RAID.
Are there any RAID or SSD issues I should be aware of?
View 1 Replies
View Related
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
View Related
Jul 21, 2010
In my system i have 3 250 GB Hard drives in a RAID 5 configuration. unfortunately, i cannot see this volume in "Computer", so i am unable to access any of the files on the volume. wierd thing is that when i enter disk utility, it finds the drives, and recognises them as a RAID volume. any ideas on how i can access the files on this drive
View 3 Replies
View Related