LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2013, 04:50 PM   #1
Ormu
Member
 
Registered: Jun 2011
Posts: 73

Rep: Reputation: 12
Partitioning question ("device presents logical sector size that is smaller than...")


I installed Arch Linux + Windows 7 on a new computer with two 60GB SSDs (Kingston V300) and two 1TB HDDs (WD Blue series), one of each per OS. When partitioning the HDD fdisk gave a message "The device presents a logical sector size that is smaller than the physical sector size..." and as far as I understand, wrongly aligned partitions can, in this case, have a significant (negative) effect on performance. Are these partitions correctly aligned or should I fix something? Windows installer didn't give any such warnings.


Quote:
Disk /dev/sda: 60.0 GB, 60022480896 bytes, 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8f744c7

Device Boot Start End Blocks Id System
/dev/sda1 2048 117231407 58614680 83 Linux



Disk /dev/sdb: 60.0 GB, 60022480896 bytes, 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x65a1bc6d

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 117227519 58612736 7 HPFS/NTFS/exFAT



Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x65a1bc75

Device Boot Start End Blocks Id System
/dev/sdc1 2048 1953521663 976759808 7 HPFS/NTFS/exFAT



Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xa76f099f

Device Boot Start End Blocks Id System
/dev/sdd1 2048 156252048 78125000+ 83 Linux
/dev/sdd2 156252160 1953525167 898636504 83 Linux

Another question: What should I take into account if I want to mount the Windows partition located on the SSD on Linux? I guess NTFS-3G doesn't support TRIM but how about access time recording (atime)?

Last edited by Ormu; 05-05-2013 at 04:51 PM.
 
Old 05-05-2013, 05:57 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,155

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
That message is informational - why would you expect Windoze to keep you informed of what's happening below the covers.
Current versions of the tools align automatically - as can be seen by the start sector on the first partition on the display(s).

As for ntfs-3g, the doco suggests noatime is supported, but not trim; see here.
 
1 members found this post helpful.
Old 05-05-2013, 06:28 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,055
Blog Entries: 9

Rep: Reputation: Disabled
Hi:

I went and looked at my partitions and did for a reason.
I noticed that you have:
Quote:
/dev/sdb1 * 2048 117227519 58612736 7 HPFS/NTFS/exFAT
/dev/sdc1 2048 1953521663 976759808 7 HPFS/NTFS/exFAT
It looks like you may have Windows on 2 different devices. Unless I am mistaken One on your HDD and the other partition on your 1 TB Drive.
I only have experience with installing on a HDD so I am just sharing what I am seeing and what I (think) is going on.

Looking at mine both of the Windows partitions are on the same HDD; but I am not using an additonal drive like you and don't know if the partitions can be seperated and still funtion.

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63     7438094     3719016   12  Compaq diagnostics
/dev/sda2   *     7438095   293543077   143052491+   7  HPFS/NTFS/exFAT
/dev/sda3       332607486   976771071   322081793    5  Extended
/dev/sda5       332607488   334559231      975872   82  Linux swap / Solaris
/dev/sda6       334561280   976771071   321104896   83  Linux
https://wiki.archlinux.org/index.php...Arch_Dual_Boot
http://askubuntu.com/questions/24591...ubuntu-ssd-hdd
https://wiki.archlinux.org/index.php/Solid_State_Drives
http://www.void.gr/kargig/blog/2012/...lignment-tips/

Hope that helps

Last edited by Ztcoracat; 05-05-2013 at 06:36 PM.
 
1 members found this post helpful.
Old 05-05-2013, 07:00 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Quote:
Originally Posted by Ormu View Post
When partitioning the HDD fdisk gave a message "The device presents a logical sector size that is smaller than the physical sector size..."
True, as you can see in the fdisk output you have 512 bytes logical sector size, but 4096 bytes physical sector size. That means that an aligned partition must start at a sector that can be divided by 8 (4096/512), which is the case for you. You don't need to do the math, fdisk would print a warning for partitions were this isn't the case.
 
1 members found this post helpful.
Old 05-06-2013, 03:05 AM   #5
Ormu
Member
 
Registered: Jun 2011
Posts: 73

Original Poster
Rep: Reputation: 12
Ok, thanks to everyone for clarification.


Quote:
Originally Posted by Ztcoracat View Post
Hi:

I went and looked at my partitions and did for a reason.
I noticed that you have:

It looks like you may have Windows on 2 different devices. Unless I am mistaken One on your HDD and the other partition on your 1 TB Drive.
I only have experience with installing on a HDD so I am just sharing what I am seeing and what I (think) is going on.
Windows system files and most used programs are located on the SSD. The NTFS partition on the HDD is for data and bulky programs such as games.

Last edited by Ormu; 05-06-2013 at 03:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fdisk shows logical sector size smaller than physical sector size after clonezilla narnie Linux - Hardware 12 07-03-2013 09:01 PM
a question about "sector size 4096" Young_zhang Linux - General 10 11-28-2011 05:38 AM
bash - how to remove lines from "FILE_A" which presents in "FILE_B" ? Vilmerok Programming 4 03-13-2009 04:27 AM
Logical Volume Management "pvmove" Question jamida Linux - Software 1 02-23-2008 09:56 AM
FAT16 and "bogus logical sector size 64543" shuuhen Debian 4 10-21-2005 04:22 PM


All times are GMT -5. The time now is 08:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration