How to format 3TB drive as ext3 [Pogoplug Pro]

Ask questions about Arch Linux ARM. Please search before making a new topic.

How to format 3TB drive as ext3 [Pogoplug Pro]

Postby kerosin » Tue Sep 10, 2013 8:47 am

Hello, I've just bought and connected 3TB USB drive to my Pogoplug Pro (Oxnas). Drive gets recognized and mounted as NTFS with no problem. But I'm not happy with performance so I want to format it as EXT3.

I guess I have to do some magic with GPT and gdisk and than use mkfs.ext3 ... could you please give me some advice how to do it?


$this->bbcode_second_pass_code('', '[root@PogoPlugPro /]# gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.7

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sdb: 732566645 sectors, 2.7 TiB
Logical sector size: 4096 bytes
Disk identifier (GUID): A547D78A-8B98-491A-BF3F-5FF788E23A59
Partition table holds up to 128 entries
First usable sector is 6, last usable sector is 732566639
Partitions will be aligned on 64-sector boundaries
Total free space is 2634 sectors (10.3 MiB)

Number Start (sector) End (sector) Size Code Name
1 64 732564063 2.7 TiB 0700 Microsoft basic data
')

$this->bbcode_second_pass_code('', '[root@PogoPlugPro /]# cat /proc/partitions
major minor #blocks name

31 0 131072 mtdblock0
31 1 14336 mtdblock1
31 2 116736 mtdblock2
8 0 3915776 sda
8 1 3915648 sda1
8 16 2930266580 sdb
8 17 2930256000 sdb1
')

P.S.: Can be a swap partition created on the same drive or swap should be enabled through swapfile?

Thank you!

M
kerosin
 
Posts: 4
Joined: Sun Sep 08, 2013 11:04 am

Re: How to format 3TB drive as ext3 [Pogoplug Pro]

Postby moonman » Tue Sep 10, 2013 9:02 am

Just remove all partitions and create new ones with gdisk. Swap partition can be created still, but you can use swapfile if you want. if unsure read man gdisk or gparted on your pc.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: How to format 3TB drive as ext3 [Pogoplug Pro]

Postby WarheadsSE » Tue Sep 10, 2013 2:07 pm

delete/re-create partition table. Use a swapfile for chrissake
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to format 3TB drive as ext3 [Pogoplug Pro]

Postby kerosin » Wed Sep 11, 2013 8:21 am

thank yo uvery much for your replys. I thought there is more magic involved in formating and mounting >2TB drives.

Now running drive with ext2 (for performance) with no problem
kerosin
 
Posts: 4
Joined: Sun Sep 08, 2013 11:04 am

Re: How to format 3TB drive as ext3 [Pogoplug Pro]

Postby moonman » Wed Sep 11, 2013 8:33 am

I think it's a terrible idea, especially on a 3tb drive with possibly lots of data later on. ext3 wont slow it down that much, but your data will be safer.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: How to format 3TB drive as ext3 [Pogoplug Pro]

Postby WarheadsSE » Wed Sep 11, 2013 1:19 pm

I agree with moonman here.

/ == ~20G is plenty, ext3/4
/media/whatever == everything else, ext4 w/ extents
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 5 guests