LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 11-24-2010, 09:07 AM   #1
megamojo
LQ Newbie
 
Registered: Aug 2008
Location: Des Moines, IA
Distribution: Slackware
Posts: 5

Rep: Reputation: 1
Advanced Format 4k sector drive with LVM


So I finally bought an advanced format drive, the 2 TB Samsung f4. I will be using it on my slackware box, running slackware 12.2 with kernel 2.6.27-7. I intend to format the drive by hand with fdisk and start the first partition on sector 2048, or perhaps boot a livecd and format it with a newer version of fdisk or parted that will natively partition this drive correctly. My real question is, do I have to do anything special to add this drive to an existing LVM volume group? I'm thinking no, since LVM basically just breaks all your data into 4 MB chunks and spreads them across the pool of partitions you've defined, but I've found many conflicting opinions from searching google. To simplify things, I'm not using RAID of any sort, neither hardware nor mdraid.
 
Old 11-24-2010, 11:01 AM   #2
jlcasado
LQ Newbie
 
Registered: Oct 2010
Location: Madrid - Spain
Distribution: RHEL
Posts: 26

Rep: Reputation: 1
Hi,

Once you have the partitions created, you pvcreate them and you should be able to extend the volume group with no problems.

What kind of problems were you thinking on?

best regards
jose
 
Old 11-24-2010, 02:18 PM   #3
megamojo
LQ Newbie
 
Registered: Aug 2008
Location: Des Moines, IA
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by jlcasado View Post
What kind of problems were you thinking on?
Just performance issues, like if you format one of these drives with a tool that's not aware of the 4k clusters and use the default settings. I didn't know if I need to do anything fancy with the pvcreate such as "–dataalignment 4096" that this guy mentions. I really don't think it'll be a problem since the PV lives on top of the partition, but just wanted to pick the brains of the community.
 
Old 01-14-2012, 11:19 PM   #4
fitzhugh
LQ Newbie
 
Registered: Jun 2006
Location: Berkeley
Distribution: Puppy Linux
Posts: 6

Rep: Reputation: 0
Wondering if you could share anything you found about adv. format drives w/ lvm

The title says it all, really. This is an old thread, but it covers just what I'm wondering. I'm off to buy a new HD as soon as I figure this out.

Thanks
 
Old 01-16-2012, 09:28 AM   #5
megamojo
LQ Newbie
 
Registered: Aug 2008
Location: Des Moines, IA
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 1
I did just what I said initially and didn't have any problems. I partitioned it manually to align it correctly, then added it to LVM just like any other partition.
 
  


Reply

Tags
lvm


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing secondary hard drive after LVM format ? albertwt Linux - Newbie 3 11-03-2010 03:24 AM
Problems with fdisk and Western Digital’s Advanced Format egarim Linux - Server 2 07-05-2010 05:00 AM
LXer: Linux WD EARS Advanced Hard Drive Format LXer Syndicated Linux News 0 05-29-2010 04:10 PM
Advanced LVM question awball Linux - Server 1 05-09-2009 02:52 PM
lvm 1.0.3 with redhat advanced server 2.1 sachu Linux - Software 0 04-14-2004 07:24 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration