Ubuntu :: Mounting Encrypted Raid From Terminal?

Jun 4, 2011

I have a RAID array that contains an encrypted volume that I setup using Disk Utility. What I want to do is mount this volume from the terminal and therefore be able to mount at login (as the pass phrase is saved). At the moment I have to manually click on the volume in Nautilus first before using. I've been trying to use the following command to no avail:

Code:

gvfs-mount -mount /dev/md1

which simply returns "Error mounting location: volume doesn't implement mount"

View 1 Replies


ADVERTISEMENT

Ubuntu :: 10.04 Error Mounting Old Encrypted LVM Drive?

May 6, 2010

Installed new drive in notebook, connected old one with SATA/USB cable, both are encrypted disks. It detected the old drive and prompted for password in Gnome, after entering correct decrypt password, this error appeared:

Error unlocking device: cryptsetup exited with exit code 239: Device udisks-luks-uuid-4de9c864-c678-4633-4343-uid1000 already exists.

View 1 Replies View Related

Ubuntu :: Automatically Mounting Encrypted Partitions ?

Nov 24, 2010

I've created some encrypted partitions using Disk Utility, and would like them to be automatically mounted when Ubuntu starts up. Is there a guide to this anywhere?

I've gathered that it involves /etc/crypttab and possibly /etc/init.d/cryptdisks, but haven't had much success so far.

Ideally, some of the partitions would mount early in the boot process, while some of them can mount after I've logged in.

View 5 Replies View Related

Ubuntu :: Mounting External Encrypted HDD With Ext3 Filesystem

Jan 20, 2010

I have a external HDD with eSATA and USB connectors available. I want to use this HDD to store my backups. The HDD should be encrypted (my main system is as well).

So here is what I did so far:
1) I used the following code to create the encrypted LUKS partition with EXT3 Filesystem:
Code:
cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/sdb1
cryptsetup luksOpen /dev/sdb1 luks
mkfs.ext3 /dev/mapper/luks
The system always hang when I executed the "mkfs.ext3..." command, so I switched the HDD from eSATA to USB and then it worked fine.

2) When I switched on the ext. HDD the first time, the drive was recognized automatically and Nautilus asked for the password. I typed it in as checked the checkbox to remember the password in the future. For the backup I use a nice script that I found in another forum, where I can define a mountpoint and then the script will check for previous backups and only make a incremental backup based of the latest version. The script also mounts the drive automatically. In order to always have the same mountpoint, I want to make an entry in the /etc/fstab using the UUID of the ext. HDD.

Whatever I tried, it doesn't work. What am I doing wrong? Here is my current /etc/fstab
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/mapper/ubuntu-root during installation
UUID=2ea47421-73ce-4c66-9606-8a1db81ae640 / ext3 relatime,errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=dbdeb793-1d4e-43ea-8986-7b37fdbc9674 /boot ext3 relatime 0 2
# /home was on /dev/mapper/ubuntu-home during installation
UUID=42702091-83e6-43eb-aad1-108f43eedf9d /home ext3 relatime 0 2
# swap was on /dev/mapper/ubuntu-swap during installation
UUID=e225bcf9-908b-4226-a963-6b02ee658df1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# Eintrag wegen iPhone
none /proc/bus/usb usbfs devgid=125,devmode=666,nodev,nosuid,noexec 0 0
# external HDD
UUID=913977f7-8fa6-416f-af79-b5f913b68f53 /media/backup-hdd ext3 noauto,users 0 0
I made the "none /proc/bus/usb..." entry because it was recommended to ensure correct behaviour of the iPhone. Not sure if I need it though.

I created the mountpoint with this command:
Code:
sudo mkdir /media/backup-hdd
Now it seems the mountpoints owner is not root - strange right?
Code:
2 4 drwxr-xr-x 3 michael michael 4096 2010-01-15 02:45 backup-hdd
How should I mount this drive correctly? It will be automounted as every USB device, but that should not be the case. I want the script to mount and unmount the drive.

View 2 Replies View Related

Ubuntu Security :: Different PWD For Login And Mounting Encrypted /home

Nov 13, 2010

I've just reinstalled my box with an encrypted home (used the encrypt home option when installing). I have a query in this regard - suppose I lose the box. Won't it be possible for someone to drop into root, reset my passwd and then access my /home. Is there anyway of having a different passwd for accessing /home? My ~ is on a different partition from /.

View 3 Replies View Related

OpenSUSE Install :: Encrypted FS Not Mounting On Boot?

Feb 6, 2011

I haven't used encryption previously but through that for better security, I would enable it on one of my disks. I went though the process and when done, copied data to the device etc. My house had a powercut the other day and I noticed that the device did not mount automatically upon restart. Unfortunately, I have forgotten the de-cryption password and have lost access to my data. Is there a way of either recovering my password or getting the partition to mount without the password so I can access the data, copy/back up and then re-create the partition without encryption?

View 2 Replies View Related

Hardware :: Mounting Encrypted LVM - Device Not Valid

Feb 13, 2011

I recently had one of my computers motherboard die and so I moved the hard drive to another linux machine so I could access the data. The hard drive is installed correctly and I've mounted several logical volumes on the drive ok, but I'm having trouble with the two volumes which were encrypted. The LVM Gui in Fedora is ignorant to any encrypted LVMs so I looked around to see if others have solved this problem and found the following command:
# cryptsetup luksOpen /dev/vg_delldesk/lv_home luks-fedora

My Logical volume container is vg_delldesk and the encrypted volume is lv_home - when I execute this command I get the following error:
Device /dev/vg_delldesk/lv_home is not a valid LUKS device.
I have access to the root partition from the old box so the config files are there to reference the old setup if needed. My current box is Fedora 14 x_64, I have dm_crypt mod installed in the kernel as well.

View 3 Replies View Related

Ubuntu Installation :: Alternate CD On USB - Natty Not Mounting Encrypted Volume?

May 8, 2011

Alternate CD on USB - Natty not mounting Encrypted Volume I get initramfs prompt. I have a Dell Inspiron Duo. I've tried to install Natty i386 and AMD64. I set my / (root) and swap under LVM under an encrypted volume. Used manual partitioning. But after reboot, I successfully enter the passphrase, swap and root are not mounted.

Now, I've had this working with 10.10. System seemed a little quirky after the upgrading it to Natty. So, I wanted a fresh install. Used Unetbootin to run ISO from USB and also from one of my other partitions. I've tried installing at least 10 times, some repeat, some variations.

View 1 Replies View Related

Fedora :: Disable Plymouth Mounting Of Encrypted Partitions?

Jan 23, 2010

I just updated a system to Fedora 12. It has the same partition setup as the previous Fedora 11, but now when booting it pauses with a padlock icon next to a text entry box.I'm assuming it's trying to get my password to mount the encrypted partitions I have on the drive.

However, most of the time when I'm using that computer, I don't want those partitions mounted, and I would prefer to do a luksOpen/mount manually during those times I need the data thereon. Is there a way to get plymouth to ignore those encrypted partitions while it's booting, so that bootup doesn't pause for user input? I have an empty /etc/crypttab and the partitions in question are not in /etc/fstab.
For anyone who's looking at this, pass "rd_NO_LUKS" on the command line to disable the initrd from looking for encrypted partitions to try to mount.

View 1 Replies View Related

Fedora :: Creating And Mounting Encrypted USB Hard Drive

Jul 12, 2010

I am looking for a guide for Fedora 13 that tells me how to:

1. Create an encrypted partition on an an external USB hard drive

2. Tells me how to setup Fedora to ask me for the passphrase when I plug in the drive

3. Automounts the hard drive to a set location

The guide should deal with the situation that the computer can mount without declaring the external hard drive is not there.At present my attempt at mounting my Samsung Story USB2 hard drives does not meet criteria 2 and 3.

View 1 Replies View Related

Networking :: Mounting Windows Share Without Encrypted Passwords?

Aug 4, 2010

We have a Windows server at work that has several shared directories. For whatever reason the lab administrator has required clear-text passwords for it. There is a registry tweak for Windows boxes. Nautilus can't mount shares because it is trying to use an ecrypted password. Ironically enough the Windows VM I have running in Virtual Box can mount the shares.... smbclient can see the server and shares if I specify a clear-text password option.

View 1 Replies View Related

Slackware :: 12.2 - RAID-1 - LVM - LUKS Encrypted Root

Dec 17, 2008

I am trying to get Slackware 12.2 running on a system with two identical harddiscs using RAID-1, LVM and LUKS.

Here is what I get:

Code:

The system is still the same, however, the results of upgrading or installing 12.2 are different. The system refuses to boot. The screen messages during boot seem to suggest, that the RAID system is "seen" by the system, but the encrypted filesystem is not.

I can boot with the installation DVD, however, and

Code:

View 14 Replies View Related

OpenSUSE :: Cannot Find The Configuration Setting For Mounting Encrypted Partitions

Aug 1, 2010

I have an encrypted partition which shows up in Dolphin file browser.But as a non-root user, I cannot unlock and mount it. A message in Dolphin comes up saying that a policy prohibits this. As root, this unlocking of the encrypted partition goes normally. I cannot find the setting to change in KDE perhaps;

View 3 Replies View Related

OpenSUSE Install :: Mounting Encrypted Partitions As User Not Root?

Mar 21, 2011

there is a way to mount, encrypted partitions as a normal user and not as root so that i may copy files into it using the file manager itself? even in the case of normal partitions other than /home, i can't seem add any data in them. the mount points i used are seperate directories within the /home partition?? also, is there a way to create partitions in such a way that it can be accessed, just as how windows partitions are accessed in linux?

View 9 Replies View Related

Ubuntu Installation :: Upgrade To 9.10 Failed; Can't Boot And Have Encrypted RAID Disk?

Feb 23, 2010

I was running Ubuntu 9.04 Desktop on a headless Pentium 4 machine which is our file, mail, web & fax server. The two x 250GB SATA hard disks were in a RAID 1 array with full disk encryption. Ran the 9.10 upgrade via WEBMIN and it failed. I should have known then to copy over everything to a backup disk, but instead I rebooted.

On restart the machine accepted my encryption passphrase but promptly hung with a mountall symbol lookup error - code 127. So I can't start the machine to get at the disks, and using a Live CD is useless as it has no way to open the RAID array to get at the encrypted partitions. Although we have data backed up (as at last night) I'd hoped not to have to rebuild the entire server from scratch. But its looking bad.I have taken one drive out and plugged it into another machine (Hercules), and the partitions show up as /dev/sdb1 /dev/sdb2 /dev/sdb3.

If it weren't for RAID, I could open /dev/sdb2 the main partition) in Disk Utility and enter my encryption passphrase to get access. But RAID adds a layer of obstruction that I have not yet overcome. I used mdadm to scan the above partitions and created the /etc/mdadm.conf file, which I edited to show the 2nd drive as missing (rather than risk corrupting both drives). I activated the RAID array with mdadm, and cat shows:

Code:
root@HERCULES# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb3[0]
1815232 blocks [2/1] [U_]

[Code]...

I've been searching the web for hours but have yet to find someone with a solution to this situation. If anyone has a thought on how to access this disk I'd be pleased to hear from you. In the meantime I will start building a new (9.10) machine from scratch, without RAID, 'cos that's probably going to be necessary.

View 1 Replies View Related

SUSE / Novell :: Encrypted Root With LUKS On LVM And RAID-1 ?

Apr 15, 2009

OpenSuSE 11.1 is by far the best SuSE version in a long time. It's generally up to competition or ahead of it. It's admirable, how thoughtful this system is set up, and how clean and fast it is compared to its predecessors. It ssems, that SuSE is fighting its way back to where they came from before the Novell "merger."

Having said that, it is even harder to understand, IMHO, why the installer doesn't support encrypted root partitions. Of course, there is a manual solution:

http://en.opensuse.org/Encrypted_Roo...ith_SUSE_HOWTO

However, this HOW-TO doesn't explain how to combine LUKS encryption with LVM on a RAID-1 system, as described for Slackware 12.2 here:

[url]
[url]

Is there a similar guide anywhere available for OpenSuSE 11.1?

If not: Would it be possible to do all the low-level setup work, like partitioning, setting up the logical volumes and encrypting everything, with Slackware, following the document above, and then install OpenSuSE 11.1 on that system? Would that work?

View 5 Replies View Related

Fedora Installation :: 15 - LUKS Encrypted Logical Volumes Not Mounting On Boot

May 26, 2011

I have a setup that looks like this

[Code]....

and I'm dumped into recovery mode. However, if I remove these mounts from /etc/fstab via comments, I can wait for the system to boot (which it does very quickly) then mount the mapper devices myself. So what is going on? Has something changed wrt logical volumes, or is this just systemd? I can live with manual mounting, but any advice on resolving the automatic mounting situation would be great.

[Code]....

View 2 Replies View Related

OpenSUSE Install :: System Encrypted But Have To Supply Password Again For MD Raid?

Mar 21, 2011

I followed this tutorial to encrypt my entire installation: SDB:Encrypted root file system - openSUSE

It worked splendidly and whoever wrote it should get a lifetime supply of beer. After I got the install encrypted I made a RAID 1 array of 2 1GB disks and encrypted that as well. They are used for a data repository.

[Code]...

View 9 Replies View Related

Debian :: Reverting RAID 1 - Mount Partition As Standalone Encrypted Disk

Feb 11, 2011

I have 2 identical disks originally configured as a pair for a server. Each of the disks has 2 partitions dev/sdb1,dev/sdb2. The sdb1 partitions I had configured as a raid1 mirror. The sdb2 partitions were non-raid and used as extra misc. Space. Further, the raid setup is also encrypted using dm-crypt luks. Now I want to redeploy each of the disks for new purposes. One of the disks i want to deploy exactly as before (keeping the partitions and content), however without being part of a raid array.

I've successfully deployed this disk into a new system and I am mounting the dev/sdb1 partition as dev/md0 because the disk is set to autodetect raid. Actually I am using cryptsetup and mounting with mapper. Can I get rid of the setting for auto detect on this partition without losing the data, or breaking the encryption? I just want to mount the partition as a standalone encrypted disk. Is it as simple as doing crypt setup luksOpen /dev/sdb1 then mounting it with mapper? Or do I need to change the partition in some way. Or do I simply continue to operate it as a 'broken' raid array?

View 2 Replies View Related

OpenSUSE Hardware :: Mounting Encrypted Fs Error : Remove Ioctl Failed: Device Or Resource Busy

Dec 5, 2010

The error message I keep getting during mounting is:-

device-mapper: remove ioctl failed: Device or resource busy

This is from ane external USB HDD I use as a backup device. I've tried formatting it as ext4 ane encrypting it from the command line

# mkfs.ext4 /dev/sdc1
# cryptestup luksFormat /dev/sdc1

which run without errors but an attempt to mount throws up the above error as well as saying - you must specify the file type (tried that) - and fails to mount. I've tried using YaST to format and encrypt it which throws up the same error when I run mount but actually does actually mount the filesystem Googling around has brought up info saying that it's probably a race condition brought on by invalid udev rules. I've got a (mostly) working system and the udev rules documentation leaves more confused than when I started.

View 8 Replies View Related

Ubuntu Installation :: Mounting A NTFS Raid 0 Device?

Dec 27, 2010

let's say this system has 3 hard drives. Drive #1 and #2 are RAID 0 and Windows7 lives there. It is a hardware RAID, not software.

On Drive #3 Ubuntu has been installed using WUBI - it boots up and works okay - but it does not see the RAID array.

Do I just need a linux driver to be able to see & mount my "Windows" RAID0 array? Or is this even possible? Can anyone point me in the right direction?

View 1 Replies View Related

Ubuntu :: Mounting 5tb Windows Stripe Raid - Can't Seem To Get It To Recognize

Dec 30, 2010

Making the move to Ubuntu entirely but I want to get my 5TB raid function.

I can't seem to get it to recognize.

fdisk -l:

Code:

It works under windows? ( Its GPT I think btw)

Else I can re-partition and format it (its all backed up) but I want to be able to read the raid under windows as well...

View 9 Replies View Related

Ubuntu Servers :: RAID Array Not Mounting Correctly

Jun 6, 2011

I have an ubuntu 10.04 machine that I use primarily as a file server. I have a RAID5 array built with mdadm from 3 component disks that worked properly until a recent upgrade (I'm not sure exactly what broke it though). The array is /dev/md0 and is set to mount at /var/media on bootup. *Now*, when the system cold boots it hangs partway through the bootup sequence and throws the following error:

The disk drive for /var/media is not ready yet Press S to skip ... Once I "S"kip this manually, I can see that LOWER in the boot sequence mdadm gets called and assembles the drive, and once fully booted into the system I can then simply do a "mount -a" and the array mounts properly. SO... my gut feeling is that some portion of one of the upgrades changed the order in which things are called, and now the "mdadm assemble" is not triggered until AFTER the system tries to mount the drives. My problem is that I don't know the stuff that controls the boot sequence well enough to dig in the right place.

As a workaround I can remove that entry from /etc/fstab, but then (of course) the system won't auto-mount the array. It's better than the boot process completely hanging because as least THIS I can fix remotely, but I'd really like to know

1) why this broke in an upgrade and is it a known problem?
2) how to get it back to where it auto-assembles and then auto-mounts the array on bootup.

View 9 Replies View Related

CentOS 5 :: Mounting A RAID Array?

May 11, 2011

Round two:I am trying to install a RAID 1 array on my system. I already have another RAID 1 array in there. I am using the BIOS RAID option to set up the array.Here's what dmraid -r tells me:

# dmraid -r
/dev/sda: pdc, "pdc_bajfedfacg", mirror, ok, 3906249984 sectors, data@ 0
/dev/sdb: pdc, "pdc_bajfedfacg", mirror, ok, 3906249984 sectors, data@ 0

[code]....

View 9 Replies View Related

Hardware :: Mounting Raid Device After Reboot?

Mar 24, 2009

configure my raid devices so it can be started and mounted at start-up.

View 1 Replies View Related

Ubuntu Servers :: Mounting Existing RAID Array On Fresh Installation?

Aug 1, 2011

I'm running 10.04 x86 server with a really simple installation on a single 250GB boot disk. I then have a RAID5 array as /dev/md0 (set up using mdadm with x4 2TB disks). All is working well. My mdadm.conf file looks like this

Code:

# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.

[code]....

if I was to lose the boot disk and need to remount the RAID array on a fresh installation, what steps do I need to go through. My assumption is that the superblocks on the RAID disks will be used and I don't need to keep any additional information - is this right?

View 6 Replies View Related

Debian :: SATA Raid, /home Partition Mounting Error?

Nov 9, 2010

I've installed debian squeezy recently and for some reason I have problems with mounting /home partition during startup.

There's an error:Mounting local filesystems...mount: special device /dev/mapper/isw_bbfedcffgi_Volume0p6 does not exist. failed

I've tried using fsck - no result the file system is healthy, I've tried formatting it once again (fresh copy, no user data) and it's not working. What is more mounting the partition manually goes well - I can read the data and write to it. All other partitions are ok.

I have no idea what's going on and why mounting /home fails. I've written this post on Polish debian users forum, but no response - only to give more info, so I'll put it here also:

ls -al /dev/mapper

crw------- 1 root root 10, 59 Nov 9 19:34 control
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume0 -> ../dm-0
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume01 -> ../dm-2
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume05 -> ../dm-3
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume06 -> ../dm-4
code....

View 2 Replies View Related

OpenSUSE Install :: Raid Root Partition Not Mounting After Updates

Jan 27, 2010

I'm having some problems with a hosted openSUSE 11.2 server. It was running fine until I did a "zypper up" to apply patches. This included a kernel update.

On reboot the root partition does not mount the / partition giving the following error:

Unrecognized mount option "defaults.noatime", or missing value mount: wrong fs type, bad option, bad superblock on /dev/md2.

Through an Ubuntu rescue disk (this is what Hetzner provides) the disk can be mounted without problems.

( I installed a fresh openSUSE 11.2 with a similar configuration and got the same results after the update)

The server is a hosted installation from Hetzner in Germany with just the basics for LAMP setup.

The disk setup is as follows using software raid1:
swap /dev/md0 (/dev/sda1 /dev/sdb1)
/boot /dev/md1 (/dev/sda2 /dev/sdb2)
/ /dev/md2 (/dev/sda3 /dev/sdb3)

View 3 Replies View Related

OpenSUSE Install :: Mounting Software RAID In Rescue Mode

Feb 27, 2011

I have a software RAID 1 (mirroring) on my 2 hard drives configured through OpenSuse 11.3 installer. When I boot from the OpenSuse 11.3 install DVD in rescue mode, the RAID isn't recognized, ie attempting to mount /dev/md0 results in 'bad superblock' messages. I can still mount individual disks in the array though (/dev/sda1, /dev/sdb1, I did it read-only so not to corrupt the array). I also tried booting from the Centos 5.5 install DVD in rescue mode on the same computer and it has no problems finding the RAID 1. I was able to mount /dev/md0. Is the OpenSuse 11.3 install DVD in the rescue mode not supposed to find the RAID 1 or am I doing something wrong here?

View 3 Replies View Related

CentOS 5 Hardware :: Mounting RAID Array On Samba Server?

Jun 23, 2009

I need to mount my raid array on CentOS 5.2 samba server.

Here are my hardware specs:
Motherboard: Tyan S2510 LE dual PIII
CPU's: Intel PIII 850ghz socket 370
Memory: 4 gig Crucial 133 ECC SDRAM
OS: 2 x'x IBM Travelstar 6.4 gig 2.5 hard drives, (low heat/noise)
Storage: 4 x's Seagate 500 gig IDE 7200 rpm
RAID controller: 3Ware 7500-12 controller, (RAID 5) (66 mhz PCI bus)
NIC: 3COM 3C996B-T gigabit NIC, (66 mhz PCI bus)

I have the 2 IBM's set as RAID 1, (mirror) and the 4 Seagates as RAID 5, (1.5 TB) I have installed the OS with minor problems, (motherboard doesn't like the 2.6.18-128.1.14.el5 kernel, removed it from my grub.conf).

My problem is mounting the RAID array. I have done the following:
formatted with fdisk;
fdisk /dev/sdb
Then formatted with the following command;
mkfs.ext3 -m 0 /dev/sdb

The hard drive was formatted with the ext3 files system, but I have mounted it as an ext2 file system as I don't want 'journaling' to occur. I then edited my /ect/fstab like this: .....

Then: mount -a
When I go into my "home" directory and type ls, I get the following:
[root@hydra home]# ls -l
total 24
drwx------ 2 zog zog 4096 Jun 23 15:50 zog
lrwxrwxrwx 1 root root 6 Jun 23 15:46 home -> /home/
drwxrwxrwx 2 root root 16384 Jun 23 15:34 lost+found
drwxr-xr-x 2 root root 4096 Jun 23 17:18 tmp
Why my home directory is showing under home?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved