LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-11-2017, 05:17 PM   #1
aantoonio
LQ Newbie
 
Registered: Jun 2017
Location: Belgium
Distribution: Navigatrix
Posts: 14

Rep: Reputation: Disabled
Setting up seagate 8TB luks one partition


Thought I make a new thread for this
1. Using "GParted 0.18.0" to delete all partitions and exit the program

2. Now use "gnome-disk-utility 3.10.0-1ubuntu3" to crate one luks partition. I use "encrypted, compatible with most systems (LUKS + Ext4)"
Done, all seems well but it is not.

A lot of disk activity
Code:
4461 be/4 root        0.00 B/s    0.00 B/s  0.00 %  1.95 % [ext4lazyinit]
 4754 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.07 % [kworker/u8:7]
   66 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.03 % [kworker/u8:2]
 4920 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % udisksd --no-debug [pool]
Even when unmounted!

fdisk -l /dev/sdb
Code:
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 8001.6 GB, 8001563221504 bytes
255 heads, 63 sectors/track, 972801 cylinders, total 15628053167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.
smartctl -i /dev/sdb -d sat
Code:
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-78-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST8000AS0002-1NA17Z
Serial Number:    Z840A0D2
LU WWN Device Id: 5 000c50 0873291d7
Firmware Version: AR15
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5980 rpm
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Jun 12 00:11:38 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
What to do?

Anton

Oh yea, forgot to mention, if I reboot, the disk shows (by hearing) the same activity "before I even give password for crypt luks to unlock my system. How can that be possible??? If I was on windows now i would think virus.

Last edited by aantoonio; 06-11-2017 at 05:24 PM. Reason: forgot something
 
Old 06-11-2017, 06:24 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Read and heed that warning in the first line from fdisk. On disks with GPT partitioning (which is required for disks larger than 2TB) you cannot use that tool, or at least the the version that you have. (Very recent versions of fdisk can handle GPT). As suggested, use gparted (or gdisk, if you have it) to examine the partitioning.

As for the disk activity, by any chance do you have another LUKS volume on the system that uses the same passphrase? Some init scripts will try any passphrase you give on all LUKS volumes that are found. The disk activity would then be the ext4 filesystem code in the kernel completing the lazy setup of the filesystem.
 
Old 06-11-2017, 11:38 PM   #3
aantoonio
LQ Newbie
 
Registered: Jun 2017
Location: Belgium
Distribution: Navigatrix
Posts: 14

Original Poster
Rep: Reputation: Disabled
From gparted

https://pasteboard.co/hvYEFMon8.png
and
https://pasteboard.co/hvXq39g8e.png

Quote:
As for the disk activity, by any chance do you have another LUKS volume on the system that uses the same passphrase?
No I don't. Only my system drive, also luks but differed pass.
 
Old 06-12-2017, 09:14 AM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by aantoonio View Post
That looks fine. What's the issue? gparted cannot, and should not be expected to, do anything with the content of an encrypted device or partition.

Last edited by rknichols; 06-12-2017 at 09:16 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] New Seagate 8TB harddrive questions Paraply Linux - Hardware 11 10-05-2015 08:24 PM
[SOLVED] Linux LVM Partition type not allowing more than 1.8Tb arfon Linux - Software 2 08-23-2014 04:50 PM
How to format master LUKS partition w/o damaging other partition kaulalla Linux - Newbie 2 05-19-2010 09:11 AM
Luks for one partition contredire Debian 5 04-18-2010 04:33 AM
Fedora 11: Cannot mount partition on Seagate FreeAgent Drive's secondary partition Erik Anderson Linux - Newbie 5 06-25-2009 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration