Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creating ext3 on multipatch device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Mythos
l33t
l33t


Joined: 02 May 2004
Posts: 953
Location: Portugal

PostPosted: Thu Jul 04, 2013 10:59 am    Post subject: Creating ext3 on multipatch device Reply with quote

Hi Everyone,

What is the best option to create a file system on a multipath device.

create directly on device:
mkfs.ext3 /dev/dm-2

or create a partition with fdisk and than create filesystem?

I am asking this because i have create directly on device and the performance is much better this way.
What are the risks by creating ext3 directly on device?

Thank you in advanced.
Best Regards,
SM
_________________
Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13830

PostPosted: Thu Jul 04, 2013 9:17 pm    Post subject: Reply with quote

Creating the filesystem on the device means that you can only put one filesystem on it. If you used partitions, you can have multiple filesystems, one per partition. If you need multiple filesystems, LVM is often a better choice than partitions.
Back to top
View user's profile Send private message
Mythos
l33t
l33t


Joined: 02 May 2004
Posts: 953
Location: Portugal

PostPosted: Thu Jul 04, 2013 9:23 pm    Post subject: Reply with quote

No need for LVM. Only one filesystem.
My question is why i notice better performance using filesystem directly on device.
Thank You
_________________
Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5760

PostPosted: Sat Jul 06, 2013 8:14 pm    Post subject: Reply with quote

Maybe your partitions weren't aligned correctly. Is this a 4k-sectors drive?
Back to top
View user's profile Send private message
Mythos
l33t
l33t


Joined: 02 May 2004
Posts: 953
Location: Portugal

PostPosted: Mon Jul 08, 2013 2:19 pm    Post subject: Reply with quote

Ant P. wrote:
Maybe your partitions weren't aligned correctly. Is this a 4k-sectors drive?


Yes.
_________________
Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum