and I want to add a 4 Tb hard drive for storage, the drive will be presented as /data in the filesystem, I have a Intel Board DH61WW with the latest bios update, is the procedure the same in yast or there is something else to do.
Windows can only boot from GPT on UEFI-based computers running 64-bit versions of Windows 10, 8.1, 8, 7, Vista, and corresponding server versions. All versions of Windows 10, 8.1, 8, 7, and Vista can read GPT drives and use them for data — they just can’t boot from them without UEFI.
Other modern operating systems can also use GPT. Linux has built-in support for GPT. Apple’s Intel Macs no longer use Apple’s APT (Apple Partition Table) scheme and use GPT instead.
HINT: GPT Partition Table
If you need to create more than 4 primary partitions on one hard disk, you have to use the GPT partition type. This type removes the primary partitions number restriction, and supports partitions bigger than 2 TB as well.
To use GPT, run the YaST Partitioner, click the relevant disk name in the System View and choose Expert > Create New Partition Table > GPT.
UEFI is only needed if you want to boot from the gpt drive, but uefi isn’t needed for gpt storage only disks.
Don’t think the partition block numbering system will handle it at least without playing with the block size. Better to stick to GPT on drives larger then 2 gig. Fewer tears that way
YaST creates a gpt_sync_mbr partition type when a gpt partition type is requested but the system does not use (U)EFI for booting (i.e. when it uses BIOS) and the system is x86 compatible (this means both x86 and x86_64) or the system is ppc but not ppc64le.
As far as I understand it it seems the basic logic behind is that YaST creates a gpt_sync_mbr partition type when a gpt partition type is requested but the system actually won’t be able to boot from it.
For example a system with traditional BIOS where a gpt partition is wanted. In this case a gpt_sync_mbr partition type must be actually used (that is basically a gpt partition where the first sector on the disk is a valid MBR) so that BIOS can boot it.
The problem with gpt_sync_mbr partition type is that it is not in compliance with the EFI GPT standard (cf. Hybrid MBRs ) and as a consequence it will cause problems here and there (just as an example rear does not work with it).
If possible I would recommend that on uses
either traditional BIOS with traditional MBR partition type
or (U)EFI with GPT partition type
but not a mix-up of both.
Agreed – YaST will perform all the needed tasks – assuming that the chosen File System supports 4 TB.
ext4 supports volumes up to 1 exbibyte (EiB) and file sizes up to 16 tebibytes (TiB).
N.B.: Please note the difference between terabyte (TB) and tebibyte (TiB): one tebibyte (1 TiB) is approximately equal to 1.1 TB (usually - mostly - sometimes . . . ).
Consider using the XFS File System for the new drive.
Why?It seems that Easgs will be using the new drive as a “data-only” volume attached to an existing (160 GB ??) drive with ext2/3/4 partitions.
Yes but the DOS format does not support over 2 tb The counters are not large enough to represent more GPT does. A new drive larger then 2 tb should already use the GPT format. This is a limitation just like o one will need more then 640K of memory ie a design limitation on the DOS partitioning.
Given that, Silicon Graphics designed XFS as a high-performance 64-bit journaling file system, it is possible that attempting to use XFS formatted partitions with a Live CD will raise a few interesting issues.
[INDENT=2]Please understand that, Silicon Graphics was a company specialised in producing high-performance Graphics Systems for Hollywood, government and defense applications, energy, and scientific and technical computing.[/INDENT]
[HR][/HR]I am happily using XFS for (large) user (home) partitions on an openSUSE 13.2 Desktop system.
I have no plans to change to anything else when the thing is migrated to 42.1 or 42.2.
Actually, I have two externals partitioned that way, DOS MBR, ext4 partitions under two Gig, have been working just fine and dandy that way for a long time.
To partition or not to partition? That is the question . . .*
[HR][/HR]This discussion <partition - The merits of a partitionless filesystem - Unix & Linux Stack Exchange; and the way I use DVD-RAM media (*NIX file attributes are preserved on the media) have prompted the question.
For example, an empty (wipefs) DVD-RAM formatted with an ext2 filesystem and mounted as follows (with a couple of possibly superfluous options) works just fine:
Yes, there are some issues with the disk write cache but, forcing the filesystem to use asynchronous I/O alleviate this to some extent.
[HR][/HR]To summarise:
Yes, setting up a filesystem on a device without using any partitioning is unusual.
In the Virtual Machine (VM) world it is not really so unusual.
Tools such as YaST could be confused by the practice.
A disk’s write cache cannot be enabled at partition level – fsync is filesystem dependent.
If a database were to be placed on the concerned filesystem, one should check carefully for any unexpected system behaviour.
Kinda off topic but UDF? This use case is what it’s designed for. ext2 on DVD-RAM? Yeah it’ll work but it’s no where near as portable should you need to get data off of it. Anyway…
[HR][/HR]
To summarise:
Yes, setting up a filesystem on a device without using any partitioning is unusual.
The kernel and libblkid don’t care about partition schemes. It’s entirely up to the user and what they think their use case requires. There are advantages and disadvantages of all the options available: partitions vs LVM vs Btrfs. It’s really just a matter of use case requirements, and user familiarity. On Windows and macOS yes it’s true it’s unusual to not have a drive partitioned, they would see an unpartitioned drive formatted with anything from Linux as empty (except UDF!) So if the drive would ever come into contact with a non-Linux system it’s a good idea to partition it.
Well, there is one exception though, when you want to boot from the disk, you need an MBR. And in Linux, an MBR can only co-exist with a partition table. Thus you need a partition table when you want to boot from the disk (even if you need only one partition).
As the “bootable disk” is probably the use case mostly seen in (home) Linux systems (the system having only one disk), by far the majority of disks in Linux is partitioned. I assume that has led to the urban legend that in Linux all disks must be partitioned.