Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I want to partition and format a advanced format drive via the terminal. I use a Red Hat 6.3 derivative (ClearOS). Can anyone tell me how this is done ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    3

    partition and format a advanced format drive


    Hi,

    I want to partition and format a advanced format drive via the terminal. I use a Red Hat 6.3 derivative (ClearOS). Can anyone tell me how this is done or point me to a how-to? If i'm correct if you want optimal speed the partitions should start at multiples of 4096 bytes.

  2. #2
    Just Joined!
    Join Date
    Aug 2007
    Posts
    4
    I am assuming you have a 4k sector drive. Use parted:

    Code:
    parted --align=opt /dev/sdx
       mklabel gpt
       mkpart primary 0% 100%
       quit
    You will then want to also align the filesystem. This is an example if you want to use ext4.

    Code:
    mkfs.ext4 -b 4096 /dev/sdx1

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    3
    Hi, sorry for activating this old thread but i released that i never thanked abudhamnhet. Your answer is very useful! Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •