bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resizing problem


From: Taylan KORKMAZ (Bilgi Teknolojileri-Uzman Yrd.)
Subject: resizing problem
Date: Sat, 28 Sep 2002 13:19:42 +0300

Hi, 

I resized my root partition by parted. I erased two partitions that i didn't
need anymore and then
i resized my root partition onto this unused space. 
After resizing I suppose that free space on the root partition should become
larger than old value
but nothing changed. I see same output of df -h command before resizing. 

Do i need to do something anymore ? Overview of some commands before and
after resizing  are following.

Thank you, 

Before Resizing:

address@hidden root]# fdisk /dev/hda

The number of cylinders for this disk is set to 1229.             
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)                                  
                                                                  
Command (m for help): p                              
                                                     
Disk /dev/hda: 255 heads, 63 sectors, 1229 cylinders 
Units = cylinders of 16065 * 512 bytes               

Device          Boot            Start           End             Blocks
Id              System
/dev/hda1       *               1               5               40131
83              Linux
/dev/hda2                       6               71              530145
82              Linux Swap
/dev/hda3                       72              1229            9301635 5
Extended
/dev/hda5                       72              326             2048287 83
Linux
/dev/hda6                       327             518             1542208+
83              Linux
/dev/hda7                       519             773             2048287 83
Linux
/dev/hda8                       774             1092            2562336 83
Linux


address@hidden root]# df -h
Filesystem              Size            Used            Avail           Use%
Mounted on
/dev/hda5               1.9G            1.4G            455M            %76
/
/dev/hda1               38M             8.7M            27M             %25
/boot
none                    124M            0               124M            %0
/dev/shm
/dev/hda8               1.9G            1.4G            432M            %77
/mnt/cache


address@hidden root]# parted /dev/hda print
Warning: Unable to align partition properly.  This probably means that
another     
partitioning tool generated an incorrect partition table, because it didn't
have   
the correct BIOS geometry.  It is safe to ignore,but ignoring may cause

(fixable) problems with some boot loaders.

Ignore Cancel ? i

Disk geometry for /dev/hda: 0.000-9641.953 megabytes

Disk label type: msdos


Minor   Start           End             Type            Filesystem
Flags
1       0.031                   39.221          primary         ext3
boot                            
2               39.221          556.940         primary         linux-swap

3               556.941         9640.568        extended

5       556.941         2557.221        logical         ext3
6       2557.252        4063.315        logical         
7       4063.316        6063.596        logical         ext2
8       6063.627        8565.908        logical         ext3

I deleted minor 6 and minor 7 using fdisk.


After Resizing:

address@hidden root]# fdisk /dev/hda                             
                                                               
The number of cylinders for this disk is set to 1229.          
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)                               
                                                               
Command (m for help): p                                        
                                                               
Disk /dev/hda: 255 heads, 63 sectors, 1229 cylinders           
Units = cylinders of 16065 * 512 bytes                         
                                                               
Device          Boot                    Start           End
Blocks                  Id              System       
/dev/hda1       *                       1                       5
40131                   83              Linux        
/dev/hda2                       6                       71
530145          82              Linux swap   
/dev/hda3                       72                      1229
9301635         5               Extended     
/dev/hda5                       72                      773
5637180+        83              Linux        
/dev/hda6                       774                     1092
2562336         83              Linux        


address@hidden root]# df -h                              
Filesystem              Size            Used            Avail           Use%
Mounted on 
/dev/hda5               1.9G            1.4G            454M            76%
/          
/dev/hda1               38M             8.7M            27M             25%
/boot      
none                    124M            0               124M            0%
/dev/shm   
/dev/hda6               1.9G            1.4G            432M            77%
/mnt/cache 



address@hidden root]# parted /dev/hda print

Warning: Unable to align partition properly.  This probably means that
another     
partitioning tool generated an incorrect partition table, because it didn't
have   
the correct BIOS geometry.  It is safe to ignore,but ignoring may cause

(fixable) problems with some boot loaders.

Ignore Cancel ? i

Disk geometry for /dev/hda: 0.000-9641.953 megabytes

Disk label type: msdos

Minor   Start           End             Type            Filesystem
Flags                           
1       0.031                   39.221          primary         ext3
boot                            
2               39.221          556.940         primary         linux-swap

3               556.941         9640.568        extended

5               556.941         6062.000        logical         ext3

6               6063.627        8565.908        logical         ext3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]