Re: setting up my 2T hard drive (WAS Re: Fun and games with 3TB hard drives.)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/15/2013 03:37 PM, Darlene Wallach wrote:
linux guy,

My name is Darlene Wallach. I purchased a 2T Seagate FreeAgent GoFlex
Desk disk from Costco a few years ago. I finally set it up and found
your very immensely helpful directions!

Thank you very much!!!

Darlene Wallach


On Thu, Sep 29, 2011 at 3:33 PM, linux guy <linuxguy123@xxxxxxxxx> wrote:
Today I bought 2 3 TB hard drives to use in my new server.

I'm writing this in case other people aren't aware that some of the
traditional hard drive management methods don't work for drives larger than
2 TB.

Specifically, fdisk and MSDOS type partition tables.

Here is how I created a single partition on my 3 TB drives.


Via parted.

#parted -a optimal /dev/sdb

(parted) rm 1  <- this removed the 2TB partition that fdisk made.

NOTE: fdisk has a 2 TB limit, apparently forced by MSDOS style partition
tables.  Ever heard the story about how the width of a donkey ultimately
determined the diameter of the space shuttle ?

(parted)  mklabel gpt  <- this is NOT making a label for the drive.  "man
parted" is your friend.

(parted) mkpart primary ext4 1 -1  <- this makes the partition itself, using
the entire drive, which is what I wanted.

(parted) print

(parted) quit

# mkfs -text4 /dev/sdb1     <- this formats the partition
#e2label /dev/sdb1 myth    <- this gives it a label, as used by mount in
fstab, ie "LABEL=..."


Via gparted.

It turns out that the whole process can be done from within gparted, if you
know what you are doing.

The first thing you need to do is create the partition table.

IF you have used fdisk on the drive previously, the partition table type is
going to MSDOS, which has the 2TB limit.  If you continue with the MSDOS
partition table, gparted will allow you to select a 3TB partition to make,
but it will give you the following error:
partition length of 5860528002 sectors exceeds the
msdos-partition-table-imposed maximum of 4294967295

To get around this, select Advanced on the partition table options window
and set the partition table type to gpt.

Then you can proceed as you normally would to partition a drive with
gparted.  Ie add new partition(s), set the partition type, labels, etc.

At this point you have an ext4 formatted 3TB drive.

However, in F15 KDE at least, it doesn't seem to automount like a drive with
an MSDOS partition table. The drive will not automatically appear in the
Places column in Dolphin, for example. Nor will it appear in the list
created by df.

However, it is available to manually mount.   Ie, #mount /dev/sdb1 temp,
just like the old days.*  And once you do that, it appears in the df list,
though still not in the Places column in Dolphin.

I hope this helps someone.

*This might be particular to my machine being that the drive is a hot swap
SATA device and I did not remove it and replace it.    However, drives with
MSDOS type partition tables auto mounted using the very same command
sequence.



--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Well it's certainly going to help ME....as I was contemplating buying a 3TB drive for my laptop.....this oughta be fun!...LOL! Thanks for the detailed instructions!..


EGO II
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux