LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-17-2012, 07:40 PM   #1
Aunnix
Member
 
Registered: Aug 2012
Posts: 126

Rep: Reputation: Disabled
fdisk sees 2TB HDDs as GPT partitioned... Should I leave this or remove it?


Hi All,

I'm setting up a server that consists of 3 hard drives. They are:

- Maxtor 60GB --> OS and packages
- WD Black 2TB (A) --> Will be the /home partition. It will store all data such as music, movies, pictures, documents, etc.
- WD Black 2TB (B) --> Will be used as a backup drive for the 2TB A (where /home will be mounted).


The idea is to have 2TB B mount, synce with 2TB A, copy any new or changed files, and then unmount itself with the use of a script... I would like to try to format them as NTFS, but when I use fdisk I get an error message saying:


WARNING: GPT (GUID Partition Table) detected on '/dev/sd*'! The util fdsik doesn't support GPT. Use GNU Parted.


Should I remove this partition table? I'm seeing that it used because the drive is 2TB or more, but I don't remember seeing this error before a friend of mine started messing around with it. He used Gparted to try to partition them, and that is when I started noticing this error message when using the "fdisk -l" command.

If I do remove the partition table, can I repartition with that GPT type again in the future? What sort of problems would I be looking at if it's removed?



Thanks in advanced.


Also, I've read here http://en.wikipedia.org/wiki/GUID_Partition_Table "For disks with 512-byte sectors, the MBR partition table entries allow up to a maximum of 2.20 TB (2.20 1012 bytes) or 2 TiB−512 bytes (2,199,023,255,040 bytes or 4,294,967,295 (232−1) sectors 512 (29) bytes per sector)." So, this makes me think I would be fine remove the GPT partition... but, it is the better thing and/or wise thing to do? lol

Last edited by Aunnix; 11-17-2012 at 07:47 PM.
 
Old 11-17-2012, 09:18 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,342

Rep: Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575
There should be no problem with removing the GPT partitioning, or with repartitioning with GPT some time in the future as long as you didn't mind losing whatever data was on the drive then.

If you do remove the GPT, be sure you also remove the backup GPT that is located at the very end of the disk. Else, fdisk will continue to see that backup GPT and complain. A GPT-aware partitioning tool should do that automatically when converting to legacy msdos partitioning.
 
Old 11-17-2012, 09:53 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,050

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
My reaction would be "why bother" ?
gpt is the way of the future - if you can't live with using parted, there is an a gpt fdisk equivalent called gdisk; install that.

Last edited by syg00; 11-17-2012 at 09:54 PM. Reason: typos
 
Old 11-18-2012, 04:46 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,361
Blog Entries: 2

Rep: Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981
Quote:
Originally Posted by Aunnix View Post
- WD Black 2TB (A) --> Will be the /home partition.

...(skip)...

I would like to try to format them as NTFS
You will run into some weird problems with this approach. I would never format the the /home-partition with a file-system that is not capable to handle Linux file permissions. I would recommend to not use a separate /home, but mount this partition somewhere else, if it has to be NTFS, like /data or /home/user/data.
 
Old 11-18-2012, 04:46 PM   #5
Aunnix
Member
 
Registered: Aug 2012
Posts: 126

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
You will run into some weird problems with this approach. I would never format the the /home-partition with a file-system that is not capable to handle Linux file permissions. I would recommend to not use a separate /home, but mount this partition somewhere else, if it has to be NTFS, like /data or /home/user/data.

The main reason I want to format them as NTFS is if the scenario arises that the server is not functioning I can pull the hard drive out and hook it up by USB to SATA adapter to my Windows PC and have the data accessible still. I wanted to mount /home to 2TB A because I know this is where all of the data/users are stored so it needs to utilize the entire 2TB disk. If I leave it on the 60GB disk with the OS, it will only be like 30-40GB after the / partition takes what it needs...

I don't have to use NTFS if the data on the 2TB HDDs can be read through USB adapter on a Windows PC. So, all in all I don't care what the filesystems are as long as I can access the data with a Windows PC. There is the possibility that I'll buy a 3TB hard drive for monthly backups, but that won't be for a while as I've got too much invested in this server already. But, I wonder if I will have problems using a NTFS formmated external hard drive on the EXT(3)(4) formatted hard drives to copy data?
 
Old 11-18-2012, 04:52 PM   #6
Aunnix
Member
 
Registered: Aug 2012
Posts: 126

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
There should be no problem with removing the GPT partitioning, or with repartitioning with GPT some time in the future as long as you didn't mind losing whatever data was on the drive then.

If you do remove the GPT, be sure you also remove the backup GPT that is located at the very end of the disk. Else, fdisk will continue to see that backup GPT and complain. A GPT-aware partitioning tool should do that automatically when converting to legacy msdos partitioning.

Ok. That's good to know. And, they have no data stored on them... I'm still trying to get everything functioning before loading the data on them. Using my Windows 7 disk, I'm using the DISKPART to wipe the hard drives now. The first one didn't take very long at all (perhaps because there was no data on them yet?). All three disks were showing as having no free space either... kind of weird. I've wiped the 60GB as well to reinstall Debian. The last few times I tried installing the GRUB portion, I ran into problems so hopefully this will solve it.

The 2nd 2TB is being "cleaned" as we speak, so once it is done I'll be diving back into the Linux setup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a 2TB ee GPT partition with Busybox debian-installer/debian live? Xeratul Debian 0 08-15-2011 09:55 AM
how to format an EFI partition on a GPT partitioned HD nfolken Linux - Laptop and Netbook 2 01-28-2010 08:59 AM
Raid 5, >2TB, GPT, Grub, booting, mounting root dtdionne Linux - Software 6 12-18-2007 05:37 AM
GPT error with fdisk fakie_flip Linux - General 1 12-17-2007 09:21 PM
FC3 Gnome, Partitioned hdds AVD_ZM Linux - Software 0 02-07-2005 07:52 AM


All times are GMT -5. The time now is 05:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration