Slackware :: Resizing Ext4 Partition Size With Fdisk?

Oct 8, 2010

Mis-allocated 10g instead of 30g to /var/lib/mysql and realized mistake After Fresh Install and upgraded all servers. Using Slackware13.1, Xfce did some googling wondering if its possible to resize the above partition with fdisk. Read some things about gparted and wonder if it will work using Xfce.. i've never use kde or gnome. There is also mention of using live cd; I have no experience with any of the mentioned tools; just fdisk to partition and install. What is the best or simplest way to backup & restore; (I do have an empty sdb 160g but don't want to get into complicated raid or LVM setups right now because I still have to learn howto backup & restore do data to the point where I feel comfortable with it)?

Current setup: sda 160gb Hdd used 73.5 for following partitions: sda1 512m /boot; sda2 Extended Rest of Hdd; sda5 1280m /swap; sda6 8g /home; sda7 2g /; sda8 8g /usr; sda9 8g /usr/local; sda10 10g /var; sda11 10g /var/log; *sda12 10g instead of 30g /var/lib/mysql; sda13 10g /opt; sda14 5g /tmp Haven't configure mysql... so /dev/sda12 is empty except for system disk data the same goes for /dev/sda13 /opt & /dev/sda14 /tmp

View 14 Replies


ADVERTISEMENT

Ubuntu :: Ext4 Partition Recognized As Part Of Original NTFS Partition In Fdisk

Jul 18, 2011

I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.

Here's the fdisk output:

When i try to mount the NTFS partition /dev/sda2 i get the following output:

I can't make heads or tails out of this. Anyone know what's going on here?

Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.

View 2 Replies View Related

OpenSUSE Install :: Resizing - Expanding Ext4 Suse Partition

May 1, 2010

I installed opensuse 11.2 some 6 months ago as an alternative to windows 7, on a 44GB partition. Having become my primary OS, I am looking forward to expand the ext4 partition from 44GB to the maximum possible. I have some 24GB unpartitioned space, and free space on NTSF partitions (one of which could be deleted if necessary). What is the best and safest procedure to perform the partitioning.

View 8 Replies View Related

General :: Correct Partition Size Not Reported After Resizing With Gparted?

Jan 11, 2010

I removed an ntfs partition I had in my HD and then resized my home partition with gparted to occupy all the available space. The resulting partition is supposed to be 129GB, and gparted/partition magic see that size. But the system does not, and all tools report the old partition size and the same free space I had before resizing.

View 5 Replies View Related

Ubuntu :: Increase The Size Of An Ext4 Partition?

Sep 2, 2010

I'm having a problem with GParted. I'm trying to increase the size of an ext4 partition but the maximum is set to 9970 MiB. The option to increase its size is greyed out. How can I fix this?

View 7 Replies View Related

OpenSUSE Install :: 11.0 - Cannot Increase Ext4 Partition Size

Nov 11, 2010

I have done it quite often. Inserted and run the computer from a live CD so that the hard drive is not mounted an changed the partitions. It worked on the old reiserfs when I wiped the windows partition on my laptop to increase the space, it worked on ext3 partitions. Now I resized the swap partition and reduced the NTFS partition on my desktop - no problem. But it does not increase the ext4 partition. No error message it just does not do it. I tried several times with the suggested maximal setting, with a custom setting, etc. It just does not change size. Just for interest I booted into Suse11.0 live CD and tried from there. There I get the answer cannot resize partition as the file system does not allow resizing. Is something wrong with the system or does the partitioner not work with ext4?

View 7 Replies View Related

Ubuntu :: Make A New/increase Size Of An NTFS Partition By Shrinking An EXT4?

Sep 8, 2010

I have nearly 200GB of space free on the HD with my linux main EXT4 partition, and I'm wondering if I can convert a large part of this to a new NTFS partition that I can use for my windows XP paralell install?

Basically, what do I have to do to resize and create the new partition and how do I get windows to recognize it?

View 5 Replies View Related

General :: Partition Gparted Fdisk / When Reduced The Size Of Some Linux Partitions Using Gparted?

Sep 18, 2009

I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.

The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.

When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.

When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.

When I tried it from Ubuntu installation or live cd, I received the following types of responses:

Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5

Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5

The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.

Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.

View 2 Replies View Related

Slackware :: Install Slack 13 64bit (GPT And Fdisk) / Command To Use With Parted To Mark The Partition As 82?

Dec 28, 2009

After trying without success change from windows to ubuntu (dual-boot unsolved problems), I decided to try slack as I have seen that user to user support for slack is usually best oriented and faster.But I am having some problems in order to install slack because of GPT support. As I know its a bad idea to start to asking for help without speak what I have tried, lets to this first:

At first I tried just to boot from DVD and went through the install using the help inside the disk. It doesn't work because either fdisk and cfdisk that are suggested in help doesn't offer support to GPT.

After that first try i looked to:url

But also it suggest the use of fdisk. However, it suggested too that I could use another partition application and since I have the live cd for ubuntu, I tried to partition from there and use those partitions for installation.

At first I tried to format as ext4, but i discovered that slack still dont offer support to this format (at least the version that I downloaded).So I tried again but this time using ext3 as format to my / and /home and use the swap offered in the application for use as swap (duh!)But every time I try to install using the dvd it doesnt find my partitions with fdisk, only with the parted command I can see my partition table displayed correctly.However, every time I try to run setup it say that it didnt found and linux partition (swap also when i try to target).So this is my dilemma, I cant use fdisk, in the parted manual (url) it only says that it supports ext2 (not mention ext3) and also i dont find any command to use with parted to mark the partition as 82.I ran through this 2 other posts (url), but as I am still waiting for some update there I decided to ask it here hoping to discover that this is an easy problem.

View 11 Replies View Related

Slackware :: How To Re-size Slackware Partition Without Deleting It And Starting

Jan 16, 2011

How do i re size my Slackware partition without deleting it and starting over, I'm new to Slackware and the work i have done i don't feel like doing again.I have set my swap and my actual HDD partition for Slackware to +8048M, I am correct in saying that fdisk can only delete and start fresh, I was a Ubuntu/Fedora user if i could get something like Gparted up that would be great but i don't mind some reading and learning some more terminal based stuff.Planning on working out the kinks and dealing with the learning curve, Love to learn.

View 12 Replies View Related

General :: Free Space Not Reclaimed After Online Resizing Ext4 In Ubuntu 9.10

Mar 1, 2010

My root partition was filling up, with only 500 mbs left, I wanted to resize my root partition from 20 Gb to 40Gb

So I resized my partition by using these steps:

Using Gparted to resize another partition to give space for the EXT4 Using fdisk, deleting the root partition (on /dev/sda2), and creating it again using the new size resize2fs /dev/sda2 Updating grub2

But now the problem is that although I can boot in my new partition and the new partition shows it is 40Gb, but the free size was still 500mb. So I booted from a LiveCD and checked with e2fsck -p /dev/sda2, it reported clean. So I added the -f flag (force check), still, the drive is full.

View 1 Replies View Related

Slackware :: Swap Partition Size For Hibernation?

Sep 26, 2010

Currently running Slackware64 13.1 on a notebook and for the most part everything works fine. Only problem I am running into is with hibernation, where sometimes it will go into hibernation without a hitch and sometimes it will stall after blanking the screen and never turning off. For the most part pm-suspend.log looks fine every time, whether it goes into hibernation or not. My current system has 12GB of RAM and my swap partition is roughly 12GB. For the most part my RAM usage right before going into hibernation is always under 1.5GB with maybe 600MB floating in the swap partition. Could the size of my swap partition be too small even if RAM usage is nowhere near max?

View 9 Replies View Related

CentOS 5 :: 5.5 Ext4 Conversion - Ext4 Partition Is Recognized As Ext3?

May 19, 2010

I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting

yum install e4fsprogs
tune2fs -O extents,uninit_bg,dir_index /dev/md2
nano /etc/fstab # I indicated here that my /dev/md2 is of ext4

[code]....

View 4 Replies View Related

Fedora Servers :: How To Use Fdisk To Partition Hard Disk Into Two Partition

Jul 2, 2011

i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.

View 10 Replies View Related

General :: Place Swap Partition On LVM Or On Standard Fdisk Partition

Aug 4, 2011

I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?

View 4 Replies View Related

Software :: Make (c)fdisk Divide A Drive Into Equal Size Partitions?

Feb 11, 2010

Anyone have a script, or method, that would allow (c)fdisk to divide a hard drive up into equal size primary partitions?

View 1 Replies View Related

Debian Configuration :: Re - Size A Drive But After A Message Of Successful Resizing, Nothing Changes?

Jul 24, 2011

I am trying to re size a drive but after a message of successful resizing, nothing changes !
This is original size

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/k9-root 322M 253M 53M 83% /
tmpfs 2.0G 0 2.0G 0% /lib/init/rw
udev 2.0G 204K 2.0G 1% /dev
tmpfs 2.0G 1.0M 2.0G 1% /dev/shm
/dev/sda1 228M 15M 201M 7% /boot

[Code]...

View 6 Replies View Related

Fedora :: Decrease The Size Of Ext4?

Jul 6, 2010

I am new to Fedora, and I noticed when I opened my home folder that I only had 54GB. My HD is 120, and when I used the disk utility, I noticed that 64GB are in ext4! What?! This was not a problem in Ubuntu, so why has it happened now? Is there anyway I can decrease the size of ext4 and give some of it to Fedora?

View 4 Replies View Related

Hardware :: Use Fdisk To Create Partition?

Aug 20, 2009

i have one harddisk /dev/sda it is partitioned as below:

/dev/sda1: /
/dev/sda2: swap

after the centos is installed, i want to create another partition /dev/sda3 to use all remaining disk space. i used fdisk. after fdisk, it requires reboot. The partition table has been altered! Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks.is reboot really necessary? is there any other tools which do not need to reboot?

View 1 Replies View Related

Server :: Can't Create Partition Using Fdisk

May 6, 2011

I recently expanded the RAID on an iSCSI device which is shared out to a linux server. Fdisk correctly sees the new size but it won't let me add a third partition. It complains about overlapping partitions whenever I try to add it.If I 'remove' the partition, the overlapping error goes away. The interesting thing here is that when attempting to use the default sizes to setup the partition the printed screen shows completely different results (which I can understand is why its complaining about overlapping)

I'm not sure why its not accepting the cylinder sizes I want. Anyone have any ideas as to what's wrong here?

View 9 Replies View Related

Software :: Deleting Partition With Fdisk?

Jul 17, 2009

I have a Windows Vista machine on which I selected "utilize free space on selected drives" to install Fedora 9 temporarily. Now, however, I'd like to remove the Fedora installation. I've tried using fdisk from the Fedora 9 rescue mode on the install DVD, but I seemed to merely mess up the cylinder boundaries. When I boot from the DVD, before entering rescue mode it says that /dev/sda contains a looped partition, and asks whether I want to reformat it (completely removing everything on the drive).

How do I remove the "looped" Linux partitions? (I cannot login to Windows, so any GUI applications won't be any help.)

View 4 Replies View Related

Fedora :: Expanding Parition Ext4 Size?

Oct 25, 2010

I have a 7GB unallocated space and I want to expand/increase the size of the preinstalled fedora 13 ext4 size from the unallocated space any ideas?**Using gparted live is not working is just displating the whole sda drive.

View 4 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 Replies View Related

Hardware :: Partition Size Detected By Testdisk Bigger Than Disk Size

Mar 17, 2011

a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.

I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?

View 2 Replies View Related

General :: Converting A Vfat Extended Partition Into A Ext4 Partition?

Jan 29, 2011

I want to convert a vfat partition into an ext4 partition. This is on my wife's machine and she deleted the Windoze partition as she now prefers Linux. Here is the (edited) output from fdisk -l:-

/dev/sda2 514048 4708351 2097152 83 Linux
/dev/sda3 4708352 6805503 1048576 82 Linux swap
/dev/sda4 52693200 234436544 90871672+ f W95 Ext'd (LBA)
/dev/sda5 59006800 234227699 87610446 83 Linux

I want to change /dev/sda4 to 83 to free up space for Linux without losing the partitions in this 'extended' partition!

View 6 Replies View Related

Ubuntu :: Restore Partition Table With Fdisk?

Jan 28, 2011

what I did was: - have NTFS (450GB + 4GB linux-swap + 44GB ext3 with ubuntu 10.10 upgraded from ubuntu 10.4). Ntfs partition contains data only, no windows.

- either with partition magic or paragon I tried to resize the NTFS and since then parted doesn't like my partitions anymore, but Ubuntu boots and works just fine..

- I took the output from fdisk -l and decided to remove the swap partition - ubuntu won't boot saying it needs the swap (although it was never mounted and i deleted the swap while ubuntu was active)

I have the following output from 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 (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[Code].....

**NOTE: Since the partitions are not on cylinder boundaries, using parted to recreate the partition table may not be good enough.. I don't have a backup of the partition table.

View 4 Replies View Related

Red Hat / Fedora :: FDISK / When Mount The Partition It's Shows As Only 50G?

Mar 27, 2009

OS= Fedora 10

I have a secondary 250GB disk of which I created a 50G partition on to try and set-up an LFS system. I finished with the LFS system and now I want to destroy the partition and reclaim all of the 250GB. So i simply ran fdisk /dev/sdb and deleted the 2 Linux partitions ( one 83 and one swap). I then created a new partition as primary partition #1. fdisk appears to see the entire disk....I'm able to start at cylinder 1 and end at 30401 which is 250GB, however when i mount the partition it's shows as only 50G.....What the hell is going on here???

View 4 Replies View Related

General :: Partition Table Raw Data Using Fdisk

Apr 27, 2010

had trouble viewing partition table using fdisk, now realised i just cudnt view the whole table from Rescue terminal, please remove this thread, i can't find how ))

View 1 Replies View Related

Software :: Creating 10GB Partition With FDISK

Dec 9, 2010

I have a physical drive of about 40GB, I want to create a partition of 10GB with FDISK on this drive.

View 2 Replies View Related

Red Hat :: Cannot Extend PV (LVM) After Resizing Partition

Dec 16, 2010

I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible.
Code:
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.

I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM.
1. Resized the vmdk in ESX (+1G)
2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan
3. fdisk shows me the new size... so far so good
4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm)
5. wrote config to disk
6. executed partprobe
7. pvresize /dev/sdc

Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved