03-07-2013
If the raw space is not in "in the middle" of two partitions and the cylinders are contiguous to the existing extended partition then you can do it directly with fdisk with little risk.
Note that you'll also need to extend the filesystem.
It's uncommon however to leave "raw" space like that since you cannot really use it - there are a few exceptions to the rule but usually they belong to very specialized software... TeraData comes to mi mind.
10 More Discussions You Might Find Interesting
1. Linux
Hi
I have Redhat linux 9. How can I check the size of a raw partition
Regards,
Raja
Cool Linux!!! (2 Replies)
Discussion started by: RajaRC
2 Replies
2. Solaris
Hi
I have solaris 8 installed on Intel machine. the disk I have is IDE.
I would like to know how can I create a raw partition on an IDE disk.
Regards,
Raja (2 Replies)
Discussion started by: RajaRC
2 Replies
3. Red Hat
I habe two hard disk in a RHEl box.I want to convert one of the hard disk to raw disk. Already linux file system is present in the hard disk.Please suggest some method (2 Replies)
Discussion started by: ss_anoop
2 Replies
4. Red Hat
Dear Friends ,
I am using Redhat Ent Linux 5.0 with a EMC storage which HDD space is 4 TB. After Installing RHEL 5 , I get 4 TB space available but when I am going to create a partition then the OS show 2TB available space . I cannot create a partition above 2TB space . Is there any limitation... (3 Replies)
Discussion started by: shipon_97
3 Replies
5. UNIX for Dummies Questions & Answers
Hello,
Im new here, and may be my question is stupid, but...
Today I run PGP Desktop decript on my 2nd partition ( D:\ ) and when decript finish, I restart my PC.Now when I try to open D:\ its give me: D:\ is not accessable and I lose my files :(
So I load Linux live CD ( knoppix ) and try to... (1 Reply)
Discussion started by: mrowcp
1 Replies
6. Red Hat
Hi,
My linux server working with LVM partition and with /boot partition, now my /boot partition is full, now i need to extend my boot partition. can i know how to do it, without any data loss.
Regards,
M.Selva Prakash (4 Replies)
Discussion started by: mselvaprakash
4 Replies
7. SuSE
Hello Folks,
Greetings,
I am in need of extending the / partition for one of my SuSE linux Enterprise Server 11.1 which is running on VMware. I will be able to extend the virtual lun from the vshphere console but not sure how to extend the root partition from the OS end. I am not sure if I... (1 Reply)
Discussion started by: PSP
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I had created a primary partition (/dev/sda3) and made ext3 file system on it.
then mounted it on a directory and touch a file (x) into this partition.
however, I want to remove this partition and recreate it as an empty partition. so I used 'd' in fdisk command and delete that partition.... (3 Replies)
Discussion started by: Siavash sh
3 Replies
9. Red Hat
Can you please help me to remove this error.
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 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
Disk... (4 Replies)
Discussion started by: karthik9358
4 Replies
10. Solaris
Hi,
I need to extend a soft partition from 20G to 100G. New disk is already added as a meta device. This soft partition is already assigned to a guest LDOM. Can someone let me know the steps to increase soft partition so guest LDOM can recognize the new space.
Thanks (1 Reply)
Discussion started by: Gho
1 Replies
LEARN ABOUT OSF1
extendfs
extendfs(8) System Manager's Manual extendfs(8)
NAME
extendfs - Extends UFS file systems
SYNOPSIS
/sbin/extendfs [- s] [disk_blocks] device_name
DESCRIPTION
Use the extendfs command to increase the storage space in a UFS file system. The file system must not be mounted when you perform this
operation. To extend a mounted (in use) UFS file system, use the mount command with the -o extend option.
The procedure for increasing the storage space of a UFS file system is as follows: Look at the contents the /etc/fstab file to identify the
disk partition that maps to the file system. Ensure that there is available storage space on the target disk as follows: If LSM is in use
on your system, use LSM commands to increase the size of the LSM volume as described in the Logical Storage Manager guide. If LSM is not
in use on your system, use the disklabel command or the diskconfig graphical user interface to check the current size and use of partitions
on the disk. If there is adequate space on an adjacent partition, use the disklabel command to write the current label to a file as fol-
lows: # disklabel -r dsk4 > d4label Edit the disklabel file to change the size of the partition on which your UFS file system resides.
Increase the number of disk blocks on the partition and decrease the disk block size of the adjacent partition by an equivalent number.
Use the disklabel command with the -R option to write the revised label to the raw disk as follows: # disklabel -R /dev/rdisk/dsk4 d4label
When the disk label is revised, extend the file system using the extendfs command. You can either use the full extent of the newly sized
partition or extend the file system in stages. The following example commands show both methods. To extend the file system to use all the
available space, you specify the disk partition on which the file system resides, as follows: # extendfs /dev/disk/dsk4g To extend the
file system to use only part of the available space, you specify a number of disk blocks, as follows: # extendfs -s 300000 /dev/disk/dsk4g
The remainder of the extended partion is reserved for future use.
You can extend a file system as many times as necessary, up to the physical limit of the storage device. When no more space is available
on the storage device, you must back up the file system using the dump command and restore the file system to a storage device that has
more available space.
Once you have extended a file system, the operation cannot be reversed except by a back up and restore operation. Use the dump command to
back up the file system. You can then reset the partition sizes manually and restore the file system to the storage device.
ERRORS
The disklabel command produces output similar to that of the newfs command. If a list of disk blocks is not displayed on the terminal, the
command has failed. Verify the partition settings and the mount status of the target file system.
The disklabel command does not permit you to overwrite a partition if it is in use. Refer to the disklabel(8) reference page for more
information on label errors.
FILES
Specifies the command path.
RELATED INFORMATION
diskconfig(8), disklabel(8), mount(8), and fstab(4).
extendfs(8)