1
vote
1answer
18 views

“inode_size (128) * inodes_count (0) too big for a filesystem with 0 blocks” while creating a file system

My partition table looks like this: Device Boot Start End Blocks Id System /dev/sda1 * 2048 32505855 16251904 83 Linux /dev/sda2 32505856 33554431 ...
7
votes
1answer
65 views

Why would a partition be in use by the system if it isn't mounted?

I've been migrating my system from btrfs to ext4 after running into performance issues with VMs. I have two hard drives in my laptop to work with. I've successfully moved my home partition, but the ...
1
vote
1answer
57 views

harddisk not recognized / filesystem too large to mount safely on this system / hdparm shows garbage

I have a 4 TB Verbatim external hard disk with ext4. It can be successfully mounted at my Raspberry Pi. I am trying to plug it at my WD Mybook Live Duo device where I have SSH root access. When I ...
2
votes
2answers
60 views

dd to clone to smaller sdcard

One of my Raspberry Pi's is using a 4GB SDcard for the root/boot filesystem. As seen when mounted on another system: Disk /dev/sdc: 3904 MB, 3904897024 bytes 121 heads, 62 sectors/track, 1016 ...
4
votes
1answer
196 views

Filesystems and Partitions

I have been reading up more on UNIX and have brushed up on different filesystems and partitioning HDs. In the book it mentioned that filesystems are very much different than partitions and one ...
5
votes
1answer
111 views

What's the easiest way to resize an ext4 partition from the command line?

What's the easiest way to resize an ext4 partition (or any type partition depending on the method) from the command line (potentially with the fewest commands, but also the easiest to understand)? ...
2
votes
1answer
62 views

Filesystem types for encrypted partitions

I wish to encrypt two external hard drives using dm-crypt/LUKS for whole-disk encryption. I want one hard drive to have an ext4 filesystem for Linux use only, and the other to have an NTFS filesystem, ...
2
votes
3answers
79 views

How to know if /dev/hda2 is Primary partition or Extended partition

If all four primary partitions exist on an IDE drive, they are numbered as follows: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 We have also the partitions on a disk with one primary partition and ...
2
votes
1answer
37 views

How can I partition and format my disk to an accuracy of “LBA” by commands?

How can I partition /dev/sdb into /dev/sdb1 and /dev/sdb2, and then format /dev/sdb1 to exFAT ( or FAT32 ) from LBA=1 to 2097152 by commands? ( LBA=0 is reserved for MBR )
0
votes
2answers
51 views

Shrink btrfs from /dev/sda to /dev/sda1

suppose I have 2 btrfs filesystems: one mounted on /mnt/big spanning across /dev/sda /dev/sdb /dev/sdc /dev/sdd the other mounted on /mnt/small on a single drive: /dev/sde How would I shrink the ...
1
vote
4answers
214 views

How to check physical device contents

I got a server with 2 hard drives. I would like to know what is on 2nd drive. How would I list all contents on physical device ? lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 ...
1
vote
1answer
92 views

How to make an unallocated space “exist”?

I have Ubuntu and Windows installed together. I'm going to install Arch also along with them. For now, I what them to live there all together in my computer. I have the following: I'd like to ...
3
votes
2answers
158 views

Moving unallocated space from Extended partition to create a Primary partition

This is my partition structure : I want to create another primary partition from that unallocated space. If I shrink sda2 to a size less than what I needed for to create another primary partition, ...
1
vote
1answer
142 views

Best parameters for ext4 filesystem to handle virtualbox disk images

I have ext4 partition, which holds disk image files VirtualBox works with. They all are fixed-size images (i.e. files never change their size). They are defragmented as much as possible (with ...
42
votes
1answer
1k views

Why are there so many different ways to measure disk usage?

When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
3
votes
1answer
110 views

Finding unallocated disk space (partitioning)

Another (hobbiest) sys admin on they same system as me, pointed out that there is 30Gb of unallocated space on the system. I have need of that space to create a new partition. (I'm going to make a ...
3
votes
1answer
44 views

understanding the “chunk size” in context of RAID

Am I correct that chunk size in context of RAID is essentially the same thing as cluster in file-system context? In other words, chunk size is the smallest unit of data which can be written to a ...
0
votes
1answer
48 views

Partitionning disk for installation, what size should I give to filesystem? [closed]

I am planning to install debian on dual boot, I have 250GB free for that, but I d prefer answer for any size. I want to separate filesystem on different partition (/, /boot, /root, /home, /var), but ...
2
votes
2answers
207 views

Resize vdi size doesn't work as supposed [duplicate]

I just installed the new one Debian xfce via VirtualBox, but decided to increase the vdi size from 8GB to 20GB (because it requires 42% of all disk space at this moment): VBoxManage.exe modifyhd ...
1
vote
1answer
539 views

How to change swap partition from primary to logical?

I was installing Mint on dual boot with Win8 and I accidentally created primary swap partition. Is there any way I can change the partition type from primary to logical? Or do I have to delete those ...
2
votes
4answers
703 views

How do I find the offset of an ext4 filesystem?

I have a failing hard drive that is unable to write or read the first sectors of the disk. It just gives I/O errors and that is all there is. There are other areas on the disk that seem (mostly) fine. ...
1
vote
1answer
3k views

Installing Android-x86 on a USB (not creating a Live USB)?

I want to carry around an Android OS install on a USB so I can have a Google Authenticator with me everywhere I go since I don't own any mobile devices. The idea being that I can run Android through ...
1
vote
4answers
313 views

how to tell if a partition is empty/unused

This is certainly a really easy question for you all I am sure. So I have Ubuntu (13.04) as the only OS mounted on my HDD. What I would like to do is re-partition my HDD so as to begin a LFS build. ...
3
votes
2answers
137 views

Repartitioning harddisk

Saturday I have to repartition my HDD. On my server I have 72GB HDD space which is not very much. Currently my system is partitioned as follows: Partition size: Filesystem Size Used ...
3
votes
2answers
610 views

Does the order of partitions matter much?

I've just ran a test install of Arch on a separate computer, and now I'm ready to do the real thing on my main one. However, since the guide didn't explicitly recommend it, I did not install with a ...
4
votes
1answer
5k views

how to find the type of img file and mount it

I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is? # mount -t auto -o ro,loop gmapsupp.img /mnt/iso/ mount: you must specify the ...
0
votes
2answers
123 views

What's the difference between Linux and Linux LVM?

If I want to install new hard drive should I make the file system Linux or Linux LVM? Also after that I've got to format again with mkfs.ext4. Actually what are we doing? The first one is formatting ...
2
votes
1answer
170 views

Creating partition from a start point till the end of the disk using parted

This is my partition table : Model: ATA Hitachi HTS54757 (scsi) Disk /dev/sda: 750GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File ...
1
vote
2answers
572 views

Can linux systems on multiple virtual machines share the same swap partition? [duplicate]

I'm trying to save some disk space between multiple systems and re-using the same swap partition (which seems to be fine). I'm now getting into multiple virtual machines and am thinking of a ...
-1
votes
2answers
968 views

What is “Ext'd (LBA)” in fdisk output?

This is my partition table. Output of fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 63 204796619 102398278+ 7 HPFS/NTFS/exFAT /dev/sda2 ...
1
vote
0answers
858 views

Problem with openSUSE 12.3 dual-boot installation (with Windows 7)

I have a current Windows 7 64 bit installation that I'm using and I wish to create an openSUSE 12.3 partition on my HDD (not my SSD Windows drive). I used the Windows Disk Management tool to shrink my ...
1
vote
0answers
32 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 ...
3
votes
1answer
596 views

Finding all partitions with filesystems

I'm writing a script that will copy all of the files on a device to a directory. The problem is that some of the devices have multiple partitions and some of the partitions don't have filesystems to ...
0
votes
2answers
3k views

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem. I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
4
votes
2answers
12k views

How can I expand ext4 partition size on debian

I have a drive with this configuration: fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
1
vote
0answers
37 views

Reasons for choosing primary over logical partitions [duplicate]

I guess anyone knows the benefits of logical volumes. But are there any reasons why I should choose primary partitions if I can?
2
votes
0answers
102 views

Why does my Pandaboard boot partition need to be vfat, and the rootfs need to be ext3 or ext4?

While booting Android on a Pandaboard, I am partitioning the SD card into two partitions, boot and root. They contain different filesystems. Why does the boot partition need to be vfat, while the ...
2
votes
1answer
2k views

Resize ext4 partition to create more inodes? [duplicate]

Possible Duplicate: How can I increase the number of inodes in an ext4 filesystem? An old headless no-X backup server I use has a small hard drive with three primary ext4 partitions: /, ...
0
votes
4answers
2k views

Optimal Setup for Windows & Linux - Sharing and Partitioning

This question gets a little complicated so please bear with me. So we have a new custom designed desktop which we will be mostly a dedicated machine for scientific computations in FORTRAN and ...
2
votes
1answer
712 views

convert /dev/md0 to /dev/sda1

I used a Software-RAID I and want to access the data without RAID now. After mdadm --fail /dev/md0 /dev/sda1 mdadm --remove /dev/md0 /dev/sda1 I tried mount -t ext4 /dev/sda1 /mnt but dmesg ...
2
votes
2answers
1k views

Is there an excellent tutorial on how to resize a rootfs partition (and shrink another) on a drive that is 100% allocated?

I'm experiencing the all-too-common "root partition full" situation. 100% of my hard drive is allocated. My home (ext4) partition has plenty of space to give up for my full root partition (rootfs). ...
1
vote
2answers
812 views

How to extend second CentOS 5 partition in VMware

I know this question has already been answered for a primary partition, but what about a secondary? I have extended the space to 30G in VMware. When I perform an fdisk -l, here's the output: Disk ...
2
votes
2answers
1k views

Moving /usr to its own filesystem/logical volume

My Fedora 17 (x64 - running on VMware Workstation 8) root filesystem is running out of space (this was an install using the default layout as suggested by the Fedora installer): # df -h Filesystem ...
3
votes
1answer
3k views

recovering ext4 partition after dd'ing over start of HD

I accidentally used dd and wrote over the first 208MB of my external disk. What I wrote over is a partition on its own (Debian nestinstaller) so what I see now is not my old (now damaged) ext4 ...
2
votes
1answer
1k views

Why my partitions don't show the right capacity on a 4096 byte physical block hard drive?

After reading a lot about why newer 4096 byte physical block hard drives should be partitioned taking care of alignment (Linux on 4KB-sector disks: Practical advice, What is partition alignment and ...
16
votes
4answers
10k views

Clear unused space with zeros (ext3,ext4)

How to clear unused space with zeros ? (ext3,ext4) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like FSArchiver is looking for "used space" ...
3
votes
3answers
340 views

Is it safe to use GParted while booted?

I have Linux Mint installed on an external hard drive, and I have the 4 main partitions (/boot, swap, /, and /home). I also have 600GB of unallocated space. I know there's always the chance of data ...
3
votes
4answers
3k views

What is the concept of Drives in Unix Systems?

In windows, we have C drives where all the softwares are installed and other partitions e.g; D, E etc to store our data. Now once we reinstall the windows for some reason, we install everything again ...
2
votes
2answers
5k views

How to Expand LVM2 Partition in Fedora Linux

I've been using Fedora 15 on a VMWare virtual machine. Over time, the disk space I initially allocated for the file system began to run out, only 12GB left. I've expanded the disk space an extra 25GB. ...
3
votes
1answer
857 views

Create iso image of ext3 type

I want to create an ISO image which can be mounted with an ext3 partition type. How can I do that? I am using this command: [root@manage upload]# dd if=testParti.txt of=./diskImage.iso 41+1 records ...