View previous topic :: View next topic |
Author |
Message |
Mythos l33t
Joined: 02 May 2004 Posts: 953 Location: Portugal
|
Posted: Thu Jul 04, 2013 10:59 am Post subject: Creating ext3 on multipatch device |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21628
|
Posted: Thu Jul 04, 2013 9:17 pm Post subject: |
|
|
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 |
|
|
Mythos l33t
Joined: 02 May 2004 Posts: 953 Location: Portugal
|
Posted: Thu Jul 04, 2013 9:23 pm Post subject: |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Jul 06, 2013 8:14 pm Post subject: |
|
|
Maybe your partitions weren't aligned correctly. Is this a 4k-sectors drive? |
|
Back to top |
|
|
Mythos l33t
Joined: 02 May 2004 Posts: 953 Location: Portugal
|
Posted: Mon Jul 08, 2013 2:19 pm Post subject: |
|
|
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 |
|
|
|