General :: Encrypting External 4K Sector Drives Correctly

Jan 29, 2011

I've recently brought a Western Digital Elements 2TB external hard disk and have been planning to encrypt it for use as a backup drive. However, it seems that these 2TB disks use the new 4K sector sizes and thus need to be handled more carefully than the older 512K ones.

After spending a week looking on Google, I have to admit I'm pretty confused and hope somebody here might be able to verify my conclusions

The drive reports that it's a 512-sector drive which is probably false. Using fdisk -uc, the original partition starts at sector 2048 so I assume that is a valid sector also to start a dm-crypt partition overwriting the previous one?

I've also read that every layer that is added to these drives must support the 4k layer. That means both dm-crypt and the ext3 filesystem I intend to put it on have to do so also.

Looking through the cryptsetup document, it states under the option "--align-payload" the following:

"Align payload at a boundary of value 512-byte sectors. This option is relevant for luksFormat. If your block device lives on a RAID, it is useful to align the filesystem at full stripe boundaries so it can take advantage of the RAIDs geometry. See for instance the sunit and swidth options in the mkfs.xfs manual page. By default, the payload is aligned at an 8 sector (4096 byte) boundary."

The fact that the payload is aligned at 4096 seems to indicate to me that it should be fine using default settings. Does everybody agree with this? Or do I need to take special measures due to the dm-crypt headers?

When I later finish up the dm-crypt layer, then I need to put ext3 on it. I understand adding -b 4096 to the mkfs.ext3 command will resolve that. Is that also correct and will it work well in combination with the dm-crypt layer?

View 4 Replies


ADVERTISEMENT

Ubuntu Security :: Easiest Program To Use For Encrypting External HD

Mar 6, 2010

I currently have my home folder encrypted with 128 bit encfs but i have the back up of that 'in the clear' on my back up hard drive. I am not that great with complicated instructions and especially the terminal so what if any is the easiest program to encrypt with?

View 9 Replies View Related

Hardware :: Debian Lenny And Support For WD 4K Sector Hard Drives

Jan 15, 2010

As you are probably aware that WD released new drives ranging from 1TB to 2TB with native support for 4K sector size. And as most of stuff written online is regarding Windows and their support for 4K, my question is has anyone already started to use it under linux?

[url]
[url]

I'm thinking about getting one of these drives:
1TB WD10EARS
or
1.5TB WD15EARS

I'm using Debian Lenny so my questions are: is fdisk automatically recognizes that that drive is 4K drive, or it totally ignores it and partition is as 512byte one? In windows if no 4K support is available it would emulate it and performance would be downgraded. Do I need to enable any specific components in kernel so 4K drive is supported? I wanted to make sure there would be no data loss if I select 4K partition type.

View 3 Replies View Related

Ubuntu :: After Upgrade To Lynx None Of Of External Drives Cd Drive Or Flash Drives Are Pick?

May 9, 2010

upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil

View 9 Replies View Related

Server :: 2 Separate External Hard Drives With ESata To Minimize An Electrical Failure To The Drives?

Mar 26, 2011

I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data

View 10 Replies View Related

Ubuntu :: External Drives / Flash Drives And Other Partitions Will Not Mount

Jun 21, 2010

I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.

View 1 Replies View Related

Fedora :: Prevent Mounting Of External Drives & CD / DVD Drives

Oct 18, 2010

I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?

View 2 Replies View Related

General :: Unmounting External USB Drives

Apr 7, 2009

Sometimes I get a problem with the basic "umount" command. I get an error message telling me that for one reason or another, the device couldn't be unmounted. Usually, it says the device is busy, when I can't see how it possibly can be. When this happens I'll use "umount -l" or "umount -f" or sometimes "eject" but I'm still not happy, because at the back of my mind I'm worried about damaging the integrity of the device's filesystem. What's the CORRECT way to deal with this problem?

View 4 Replies View Related

Ubuntu Installation :: Installing On External 1tb Disk With 4096 Sector Size?

Dec 9, 2010

In the past I have been able to succesfully install ubuntu on several external usb drives with up to 500gb in size.Now I am trying to install a copy of ubuntu 10.10 on an external usb iomega 1tb eGo drive but I am having major issues.The installer reports the total disk size as only 124 gb, instead of the 998gb that gParted reports for the same disk. Proceeding with "use the full disk" installs ok, but it doesn't boot.Grub2 reports that it cannot find the kernel.After some desperate attempts to repartition and after some googling I think that the issue may be with the sector size, which fdisk -l reports as 4096kb (all my other drivers report 512kb) and I have the impression that linux is not ready for it (or I lack the knowledge, which seems more likely).I have also tried to install fedora 14. This distribution reports the correct disk size, installs properly, but again, it cannot boot (Fedora uses grub, not grub2), with a very similar message to the grub2 installer.Because of the way I work, I need my external usb drive to be able to boot linux. And I find it difficult to believe that linux doesn't handle 4096kb sector disks, so here I am asking for help . Please note I am not a linux expert.

View 3 Replies View Related

General :: Should External Drives Be Converted To Ext3

Jul 29, 2010

I switched over from Windows to Linux. I have an external drive that has basically just media files on it. Are there any advantages to converting this to ext3, or should I just leave it as ntfs3?

View 2 Replies View Related

General :: Getting An External 8-bay ESATA Enclosure And Putting Drives In It?

Feb 21, 2010

My Motherboard has 4 SATA ports on it, Is there a way short of buying an expensive RAID card to add more SATA drives and do a software raid still? What about getting an external 8-bay eSATA enclosure and putting drives in it? Will the OS see this and software raid? (linux)

View 2 Replies View Related

General :: Do External FAT32 Hard Drives Work?

Oct 6, 2009

I have a FAT32 external USB hard drive with a bunch of stuff I want to copy onto a RHEL server. Is it as simple as it is on a Mac or PC where I just plug it in and it will show up, then I can copy all the files off of it?If it is, how do I safely remove the drive after I'm done with it?

View 5 Replies View Related

Ubuntu Installation :: Installer Not Seeing Drives Correctly?

Jun 19, 2011

I have 2 identical hard drives that was used as a RAID0, the raid array was removed, and confirmed the removal with the raid utlity. Bios settings are not set to raid. So one hdd has WinXP occupying it, and I want to use the other hdd for ubuntu. For some reason, ubuntu installer still sees it as an array of both hdds. Gpart see them as both array and individual drives. Does anyone know how to correct this? M

View 4 Replies View Related

OpenSUSE Install :: Does 11.4 Install Detect 4kb Sector Drives

Mar 15, 2011

Some posts say 11.3 and newer automatically detect drives that have 4kb sectors, and partition things accordingly. But other recent posts specifically about 11.4 say, no, you still have to prepare the drive manually before installing, to be sure things are optimized.

View 9 Replies View Related

Ubuntu :: 640 GB External HD Not Recognized Correctly?

Mar 12, 2010

I bough a 640 GB external USB disk.I found something wasn't working well when I couldn't restore a backup from the disk (with sbackup).So I tried to convert the filesystem from fat32 to something newer.I installed gparted, and it shows no partitions on the 640 drive (however, I can access the filesystem!!!). Also, for some reason it shows as a 298.08 GiB drive.So I thought I should format it to solve this. When I tried to do this, gparted simply closed, with no error messages.

View 9 Replies View Related

OpenSUSE Install :: 11.2 External Encrypted Harddrive Not Correctly Mounted?

Nov 14, 2009

i have an external harddrive which i encrypted scince opensuse 10.2 with luks. Now i installed opensuse 11.2 its impossible to me to mount this drive correctly.

the harddrive was recocnized in my former opensuse 11.0 correctly as luks encrypted and during installation yast installed the kernel module and encrypted the harddrive so that i regulay could mount it on boot by giving the password for that harddrive. Scince opensuse 11.2 however yast thinks this is an dmcrypted partitoon and tries to unlock the harddrive using dmcrypt which of course fails.

does somebody know how i can encrypt and mount the externeal drive automaticly?

i have made a backup of /etc before i made a new installation of opensuse 11.2. is the possible to use the old fstab entries for that after installing luks?

View 8 Replies View Related

Ubuntu Installation :: Kubuntu On A External HDD And Make It Boot Correctly?

Aug 8, 2010

Esteemed (K/X)Ubuntu'ers, I need some help. I had a Samsung HDD (Internal) that crashed, was a fault of the store that sold it to me and they went bankrupt. I thought I buy an external HDD (Western Digital Elements 1.5TB) and boot Kubuntu from there, so I still use the computer till I buy a super nice one after USB 3.0 hit the streets.

The problem I keep having by booting of the external HDD is that GRUB keeps saying Code: error: bad filename how to install Kubuntu on a external HDD and make it boot correctly?

View 6 Replies View Related

Ubuntu :: Unable To Use Toshiba 1Tb External HDD Correctly - It Turns Itself Off After A Few Minutes Of Inactivity

Jan 12, 2010

I got this 1Tb Toshiba external about a month ago, and recently I started really using it to share lots of media files. What I've noticed is that it turns itself off after a few minutes of inactivity -- I researched this issue across the internet, and found that it's between 5 and 30 minutes, depending on who's writing about it.

I found a person who posted a DOS batch file, which (i think) continuously accesses the drive as long as the batch file is running. I'd like to find a way to do that in linux. could someone point me in the right direction?

i took a few minutes to plan it out... i think i need a loop that will access the drive (or do something to it, at least) once every minute until i close the script. I'd also like a message box that shows up that says something like "while this is open, your HDD is being accessed".

View 2 Replies View Related

General :: Process Of Encrypting RAM While Still Using As RAM?

Jun 21, 2010

From previous post I have a netbook from work that I have Debian Squeeze running on and did a full disk encryption (minus the minimal boot loader in /boot) in case it gets stolen. However, with a laptop/netbook it has a battery and I believe the encryption protocol (LUKS - correct me if I'm wrong) uses RAM to store the decrypt key. So if someone is quick they can dump RAM and analyze it until they get the key. Or even if the key is not stored there they could dump RAM which would have recent files cached unecrypted.

Is there an easy process of encrypting RAM while still using as RAM? What I mean by that is I know you could make a ramdisk sort of like how Live CDs do and encrypt that, but at best (that I know of) I can only mount it as swap space.

View 14 Replies View Related

Ubuntu :: Ccd2iso " Unrecognized Sector Mode (c9) At Sector 0 "?

Jul 27, 2010

Title says it all, I get that "un..." when trying to convert an .img file to .iso, am I doing anything wrong here?.

View 3 Replies View Related

Fedora :: Can't Use Shares On External Drives

Apr 5, 2010

I can't use my shares on external drives. I've tried to work with this and I really like Fedora but enough is enough. enough having to recover from multiple crashes attempting to get Nvidia drivers installed but I've given up on this. I haven't found a solution after HOURS and HOURS of searching. I was willing to wait for 13 to have 3d support on my Nvidia card but if I can't find a solution to this one

View 6 Replies View Related

Ubuntu :: Cannot Mount External USB Drives?

Apr 12, 2011

I have recently installed Ubuntu 10.10 on my machine as dual boot using WUBI but on a seperate partition to Windows. Loving it so far, but i cannot get any external drives to mount - i've tried pen drives, camera memory cards and hard drives but nothing comes up.

I have just tried restarting with a pen drive plugged in, and it finally showed something in the computer folder - "memory stick drive" is shown (and my internal CD drive, which i'm not sure was there before.), but i still can't access it and when I try to unmount it gives me the message

Error detaching: helper exited with exit code 1: Detaching device /dev/sdc
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1)
SYNCHRONIZE CACHE: FAILED: No such file or directory
(Continuing despite SYNCHRONIZE CACHE failure.)
STOP UNIT: FAILED: No such file or directory

[Code]...

View 3 Replies View Related

Ubuntu :: USB Drives And External HDD's Not Showing Up

May 29, 2011

Im having some problems, when I plug in a USB drive or an external HDD to my computer it doesn't mount or show on the Desktop. It only shows up in "disk Utility".

I have tried ALT+F2 then typed "gconf-edit" went to Apps> Nautilus> desktop and check "Volumes Visible" but when I plug in anything in the USB it still doesn't show.

it shows up in the side pane only. I would like it to show up on the Desktop

View 1 Replies View Related

General :: Encrypting Existing Logical Volumes

Jan 8, 2011

How would I go about encrypting my lvm2 logical volumes on Debian Squeeze? Is it possible without backing everything up to a different drive and restoring afterwards?

View 3 Replies View Related

General :: Encrypting Root File System?

Sep 16, 2010

Is it possible to encrypt the Entire root file system using LUKS.I am currently using Ubuntu 10.4 LUCID.After several hours of Google ,most of the articles were focusing to "Encrypting a drive/removable media ".. My aim is to encrypt whole File system which is currently using.

My Concerns, How to Encrypt a running file system? Will it lead to data loss?

View 1 Replies View Related

Fedora :: Get The UUID For Some Of External Hard Drives?

Apr 7, 2011

I am trying to figure out how to get the UUID for some of my external hard drives.the internet revealed a couple of promising leads, this is what I have tried so far:

ls -l /dev/disk/by-uuid -> didn't list the hard discs
blkid -> didn't list the hard discs
lsusb -v -> listed the hard disc but no uuid

A normally formatted usb key is listed with uuid. The external hard discs are fully encrypted by truecrypt(realcrypt). I have been reading not so great things about that itself, but for now I don't have a promising alternative that I can use with windows as well.Any google searches don't seem to cast any new light on this for me,I'd be open to suggestions if there's a better way to get a definite ID for a hard drive... I just need to be able to mount it with realcrypt

View 3 Replies View Related

Ubuntu :: Defragmenting USB External Hard Drives?

May 9, 2010

I currently use Ubuntu Lucid, and I'm curious if there is a program that I can install and run through it which will defragment an external USB hard drive.

My 500GB hard drive is used a lot, and I often add/remove stuff on and off of it, and I'm sure it's slowly starting to get a little fragmented with the amount of deletion and addition I do on it.

Does anybody know of a way to check and potentially defragment just it through linux? Or am I gonna have to just find a windows computer and do it there?

FYI, I don't care to nor know I really don't need to defragment my Ext4 drive to which Ubuntu's installed, its' just the external I am curious about.

View 4 Replies View Related

Ubuntu :: Show External Drives On Desktop?

Sep 10, 2010

Is it possible to show only mounted external volumes on the desktop. I try the method of uncheck /app/nautilus/desktop/volumes_visible. But it hides both internal and external disk.

View 6 Replies View Related

Ubuntu :: Lubuntu: How To Unmount External Drives

Jan 17, 2011

How do you unmount for safe removal external drives (such as USB sticks) in Lubuntu? In Nautilus (Ubuntu) under the File menu there are options Eject and Safely Remove Drive; but in Lubuntu I can't find anything like that.

I am using Lubuntu 10.10.

View 2 Replies View Related

Ubuntu :: Linking External Hard Drives ?

Feb 23, 2011

So me and my friend our on my network and we have done a bit of hacking and have managed to get music off of pandora and have it sort it by forlder /media/...../artist/album/song and it won't redownload a song that we have already downloaded (this is done by our code that we stripped from pithos and modified a bit) also we wrote a bash script that renames all of our files correctly and tags them with .mp3

I was wondering if I could link our two hard drives to make sure that we aren't both downloading the same songs. I am also having issues getting my external accessible on the network i have it formatted to use a FAT32 file system.

View 1 Replies View Related







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