3
votes
1answer
18 views

Approximate partition table backup with sfdisk

I wanted to convert some logical partitions to extended ones, so I was following this accepted answer. However, at the step of backing up my current partition table, I messed up and typed the ...
0
votes
0answers
23 views

Should I use the discard flag when configuring the filesystem to be installed over the partitions on my SSHD?

I've recently bought a laptop with an SSHD. My guess is that most SSHDs are self-optimised, so the disk itself will handle wear-levelling issues, and I won't need to add the "discard" flag when ...
2
votes
1answer
71 views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
3
votes
2answers
77 views

Can I partition around a bad block on a harddrive?

I used a computer too much, running a script for many weeks. Eventually, Debian printed a thousand errors and shutdown, and won't start again. When I ran DBAN on the drive, to write 0's to the disk ...
4
votes
1answer
233 views

Partially overwrote /dev/sda, can I recover anything?

I was messing around with my new hard drive, which only contains some personal files, and to check its write speed, I typed: sudo dd if=/dev/zero of=/dev/sda, /dev/sda/ being the new 2 TB connected to ...
0
votes
1answer
45 views

Prevent linux from auto scan and mapping partitions on some disk [closed]

TL;DR Linux scan disk (for example /dev/sdc) and add files to address partitions on that disk (for example /dev/sdc1) - how can I tell Linux to not do that for some disk? Long story: I used VM ...
0
votes
2answers
45 views

Is there any danger in changing the labels of my hard drives?

I've have both Ubuntu and Arch installed on my computer, and want to change the labels of the / and /home partitions (four in total), to make it clear which is which. Can this potentially break ...
0
votes
1answer
717 views

How to increase size of /dev/sda2 in suse running on vmware

how to increase the partition /dev/sda2 partition. df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda2 7.0G 3.7G 3.0G 56% / devtmpfs 432M 172K 432M 1% /dev tmpfs ...
1
vote
1answer
296 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
1
vote
1answer
70 views

Shrink /home partition to two partitions

I have one hard disk on my server [root@CentOS dev]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 4.9G 722M 3.9G 16% / tmpfs 246M 0 246M 0% /dev/shm ...
2
votes
1answer
41 views

Where does dd start when copying a partition?

I'm copying an entire HDD using the dd tool, and I'm considering stopping part of the backup due to space limitations. Does the dd tool begin at the front of a partition when copying? The first ~90 ...
1
vote
4answers
472 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
129 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 ...
4
votes
2answers
2k views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...
2
votes
2answers
206 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
3
votes
1answer
746 views

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS ...
1
vote
1answer
129 views

Problems mounting a disk

I have a disk that has failed to mount on start up. I have commented out the line in fstab to try to diagnose the issue: # /dev/sdc /media/bigdrive ext4 auto,exec,rw,user,async 0 0 Then rebooted. I ...
0
votes
2answers
55 views

Hide a partition in the partition table and make it reappear later

I know this isn't a question that's specific to Unix/Linux, but I think there are people who can answer this question here. I want to hide my Windows partition from the partition table completely, ...
0
votes
1answer
44 views

Is this method safe or recommended for moving a /home directory?

I have my linux install on a small disk. I want to put the home directory on a different hard-drive. I was thinking of using this and then this. Would this work? Is there a better way? Should I just ...
0
votes
1answer
329 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formated with UDF and was being used for MAC and Windows (or at least that is what told). When I attached the HDD to my Linux system ...
5
votes
2answers
235 views

How do I check if a particular hard disk is dynamic?

What commands do I have to check the dynamic or basic type disk/volumes of the Windows partitions? Topic of interest because: Warning: Don't install linux on a Windows Dynamic disk! Bug Report: ...
6
votes
1answer
391 views

Why are there 2048 sectors of free space between each logical partition?

I know about the advanced format and setting 2048 free sectors at the beginning of a disk. But I just converted a partition table of my disk from MS-DOS to GPT, and I noticed this: Before: Number ...
2
votes
1answer
251 views

Linux big disk partition issue

I have a big disk around 4.8 TB (RAID) and it has following partition (created by fdisk) [root@server1 ~]# fdisk -l /dev/sde WARNING: The size of this disk is 4.8 TB (4796404727808 bytes). DOS ...
1
vote
2answers
2k views

Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?

Problem: Since about one week ago, my Ubuntu system encounters various severe and strange problems. Sometimes the whole system suddenly freezes. I have to push the power button to shut down the ...
1
vote
0answers
79 views

Resize /home on CentOS vmware guest

I have a new vmware guest, let's say I want to extend it from 100 GB to 300 GB My question is how to insert all the 200gb into /home? Where can I start? df -h displays:
0
votes
3answers
464 views

Align Partition Of HDD Using fdisk?

I first asked this question on SuperUser.com but got no responses. I have found how to align the partition of my SSD using fdisk (SSD article on Gentoo Wiki) but haven't been able to find any ...
3
votes
2answers
732 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 ...
1
vote
2answers
4k views

How to increase the size of / with unallocated hdd space

So, I had run out of space on / (which was initially 9.3 GB). So I had some un-allocated space on my hdd (/dev/sda) that I wanted to assign to the / partition, which is also: /dev/sda1. For reference ...
2
votes
2answers
72 views

How to configure hard drive

I have a hard drive that is not configured, it shows this in fdisk -l: Disk /dev/dm-2: 107.4 GB, 107369988096 bytes 255 heads, 63 sectors/track, 13053 cylinders Units = cylinders of 16065 * 512 = ...
6
votes
3answers
2k views

How to clone a NTFS partition (WinXP) from a damaged disk to a new one?

I'm an Italian Windows programmer. I know almost nothing of Linux, so please be patient if the question is dumb and pardon my bad english. I need to clone a NTFS partition from a damaged, near to die ...
0
votes
2answers
2k views

increasing a logical volume

I need to increase the logical volume of the var directory, the maximum size of var right now is 10GB, I need to make it 50GB. I have a Centos 6 server. The output of df -h is: Filesystem ...
2
votes
1answer
724 views

GParted messed up my partitions

Update: running testdisk I can actually see all of my files in /dev/sda1! I wanted to install Windows alongside my Debian installation in order to play some games. In order to do that, I had to boot ...
4
votes
4answers
493 views

If I have an SSD and a hard disk in a system, can the SSD act as cache for the hard disk?

Say I have some partitions; one on a SATA drive and one on an SSD. I want to create a "virtual" hybrid disk. Is this possible?
0
votes
3answers
3k views

Create swap partition after install

I already have parititon contain data under lvm enviroment with centos 5.8 output of fdisk -l root@server [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, ...
2
votes
1answer
3k views

fdisk isn't showing my hard drive as properly formatted (but it is)

I've got 3 1TB drives which I've set up to use LVM. Here's the output of pvdisplay: --- Physical volume --- PV Name /dev/sda1 VG Name vgpool PV Size ...
2
votes
3answers
2k views

How should I prevent data corruption on an NTFS partition shared by Windows and Linux?

I use Linux for most of the things but I still need Windows sometimes. So, I have Linux Mint 14 and Windows 8 installed (dual-booting) on my computer with the following disk setup: sda1: The 350 MB ...
1
vote
2answers
1k views

How to resize logical volume to fit filesystem

How can I resize logical volume to fit filesystem automagically?
3
votes
2answers
383 views

LVM with SSD and SATA hard disks

Is it possible to create LVM partitions for both SSD and SATA hard disks? I mean if there isn't any conflicts.
0
votes
0answers
37 views

Recreating EXT4 partition without losing data [duplicate]

Possible Duplicate: Can't mount EXT4 hard drive after mounting it in windows I have a 2TB Western External USB harddisk. I formatted it to EXT4. one time I plugged it to a windows ...
9
votes
4answers
5k views

Convert image of a partition into image of a disk with partition table

I have an image of an existing partition generated with dd if=/dev/sdXN of=image.bin. Now I want to use this image as the basis for a virtual machine. I know how to convert the image into a format ...
2
votes
2answers
606 views

Partitioning Ubuntu and Windows 7 once and for all

I am dual-booting Windows 7 and Ubuntu (installed with wubi). So far there have been no problems, but now it says the disk is out of space all the time (I think that is because /dev/loop0 is used 100% ...
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
178 views

Why is my /home separate from /?

I was confused why I was getting out of space errors so I ran df and saw this: [me@fedlap /]$ df -h Filesystem Size Used Avail Use% Mounted on rootfs 43G ...
3
votes
3answers
1k views

Copying an HDD to a larger one by dd

I'm trying to copy an entire HDD which has IBM PC-style partition table to a larger one by dd on GNU/Linux. The questions are: Can I use the additional space on the larger disk by changing the ...
3
votes
2answers
8k views

How extend linux partition with?(after success to extend : fail to boot computer)

I have Ubuntu and I want to enlarge the disk space of /dev/sda1 from 10GB to 90GB. gparted Ubuntu 9.04 live cd show: Partition File System Size /dev/sda1 ext4 10GB /dev/sda2 ...
3
votes
3answers
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. ...
2
votes
3answers
925 views

Root filesystem nearly full - should I be worried?

me@netbook:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 323M 292M 15M 96% / tmpfs 5.0M 4.0K 5.0M 1% /lib/init/rw tmpfs ...
4
votes
2answers
668 views

Create a partition from a directory

I have a Linux system with only one partition /dev/sda1 on /dev/sda disk with / mount point. Is it possible to create partitions after installation? e.g. create /dev/sda2 with the mount point /home/ ...
1
vote
1answer
2k views

Discovering EMC PowerPath LUNs and creating partitions on Solaris

I have to work with EMC PowerPath disks/LUNs. I find them in the /dev/dsk/ directory under names such as emcpower0a, emcpower0b, …, emcpower0z, emcpower1a, … Here are my points of confusion: Inside ...
1
vote
1answer
485 views

Create recovery medium from Windows 7 recovery partition

Many laptops are delivered with Windows 7 recovery partition (but without CD or DVD) which takes place on the harddrive that could contain some Linux distribution or serve for data storage. I don't ...