11-08-2008
create new partition
My Linux system's disk is partitioned as follows:
center; 1 | 1 | 1 . DEVICE MOUNT POINT SIZE _ hda1 / 100Mb hda5 /usr2048Mb hda6 /home 10Mb hda7 /var512Mb hda8 swap 12Gb
There is 4Gb of unpartitioned free space remaining on the disk (in the logical extended partition)
The /usr partition is running out of space, mostly because of files under /usr/local.
how can I create a new partition for /usr/local, and move the contents to there
10 More Discussions You Might Find Interesting
1. Solaris
hi experts,
i had installed and do mirroring with sun solaris 8 v890 sparc, i had forget to make a partition for directory /data, i have 6 hard drive with disk0 mirror disk1(for root,var,opt,etc) ,disk2 mirror disk3(for /data2) and disk4 mirror disk5(for /data3), how to make a new partition for... (2 Replies)
Discussion started by: bucci
2 Replies
2. Filesystems, Disks and Memory
Hi sir,
I want ask you something,
i have Fedora Core 5 installed and i wanted to install windows NT at same machine (laptop),
currently i have only this partition
$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
... (1 Reply)
Discussion started by: mani_um
1 Replies
3. Linux
i want to create on directory called /data under "/ " . but when i m using
mkdir /data it is telling permission denied. could any one tell me how to do it ? (1 Reply)
Discussion started by: useless79
1 Replies
4. Solaris
Hi there
Background:
New to Solaris - installed VM Ware on a vista laptop, then installed Solaris 10 using ISO file.
My aim, is to get to stage where I can install Oracle 11g Database.
Question:
See attached file.
Simple question, how do I create a new partition say called "Oracle" 30G in... (11 Replies)
Discussion started by: Ackers
11 Replies
5. HP-UX
I'm using 11i v3.
I have a san disk; how to creeate a partition in a normal way similar to fdisk in linux? (not using lvm)
The other question is:
I created a partiton using lvm and mounted it. experiment is to take a block level snapshot and attach it as a different disk. I attached the disk... (3 Replies)
Discussion started by: ilan
3 Replies
6. Shell Programming and Scripting
I have to do this exercise:
Create a virtual disk
Partition this disk
Create File system
Mount File System
I'm using Minix (which runs by Qemu as guest machine) on Linux (Host)
Is there anybody who knows how to solve first three point? :confused:
Thanks (4 Replies)
Discussion started by: Guccio
4 Replies
7. Windows & DOS: Issues & Discussions
Hi,
i have a new laptop without any OS. I'm about to install win 7.
i have a FreeDos CD and I'm currently trying to install it. My hard drive has about 610 000 GB space.
I'm unable to create a partition bigger than ~2 GB.
I know that normally when you start FDISK, you're asked if you want... (1 Reply)
Discussion started by: harriii
1 Replies
8. Linux
Hi,
Firstly, I created a 50MB image using:
dd if=/dev/zero of=./disk.img bs=1MiB count=48
Then I formatted it using:
mkfs.ufs ./disk.img
This worked correctly as stated by the output of:
raphaelsc@debian:~/Desktop/FFS$ file disk.img
disk.img: Unix Fast File system (little-endian)... (1 Reply)
Discussion started by: raphaelsc
1 Replies
9. 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
10. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 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)