Linked Questions

21
votes
4answers
36k views

What is the best practice for adding disks in LVM

According to the Linux manpages you can add raw disks as well as partitions to a volume group. In other documentation (RedHat, CentOS or openSUSE), all examples refer to adding partitions to the VG ...
9
votes
2answers
9k views

Is it ok to mkfs without partition number?

I have a pen drive and one partition: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk └─sda1 8:1 0 931.5G 0 part / sdb 8:16 1 7.5G 0 disk └─sdb1 8:17 ...
6
votes
3answers
5k views

When and why do block devices need to be partitioned? [duplicate]

Possible Duplicate: The merits of a partitionless filesystem So I've got a block device, say /dev/sda or /dev/loop0. Clearly if I want to boot from the former, or I want to subdivide it into ...
6
votes
1answer
379 views

Why partition disks?

I've read many times that it's important to partition disks into smaller partitions, and that this is especially true for root or OS disks, but I've never been able to find a good reason for it. A ...
4
votes
1answer
9k views

How to set up disk mirroring (RAID-1)

I have a computer with two WD 1TB drives and I want to configure disk mirroring on it. I tried setting up RAID during the installation by creating RAID partitions but that does not work for me. Is ...
3
votes
2answers
7k views

What's the difference between a partition and physical volume?

Why can't we directly create a volume group over a disk without creating a physical volume from it? What is a physical extent? Do we even have physical extents in a partition?
2
votes
1answer
2k views

Proper way to setup RAID in linux

I have installed Debian 7.4 on a server, and through the installer I setup both RAID and LVM for the drive that the OS is installed on. However, now I want to add two 4TB drives in a RAID-1 array to ...
1
vote
2answers
504 views

Partition table-less HDD [duplicate]

Just this morning, I accidentally created a hdd filesystem without a partition table. I didn't even know it was possible but it happened. Now the issue is to undo it or leave it alone. For this ...
1
vote
1answer
56 views

Block device aligment without partitioning?

As new drives with 4096b sized blocks appeared, partition alingment is becoming more and more important. But, what I am interested in is, if I use the whole block device for filesystem (eg. /dev/sdc) ...
1
vote
1answer
111 views

Are partition tables always required? [duplicate]

So I have a home server with 4 hdds: hdd1: 60Gb (SSD - OS drive) hdd2: 4TB (data drive) hdd3: 2TB (data drive) hdd4: 1TB (data drive) So I intend installing ubuntu server onto hdd1 (ssd drive)...
1
vote
0answers
45 views

Can I use a disk without partitioning it? [duplicate]

If I have a disk (whether a physical disk or a virtual disk managed by a some VM hypervisor) that I want to use as a single big partition, do I need to actually create a partition table with one big ...
0
votes
1answer
1k views

What are the benefits of doing pvcreate on a partition instead of on device? [duplicate]

I learnt yesterday that I could pvcreate directly on /dev/sdb instead of /dev/sdb1. I thought that you could only pvcreate on a existing partition. Doing it on a partition adds a level and operations ...
-1
votes
1answer
52 views

Are there any pitfalls to having a file-system directly on the hard disk with no partitions? [duplicate]

In Linux it's possible to format a non-system hard disk directly, without first putting any partitions on it. I've formatted a raw hard disk using mke2fs, creating an ext4 volume /dev/sda, rather ...