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
HD(4) Linux Programmer's Manual HD(4)
NAME
hd - MFM/IDE hard disk devices
DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major
device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave
hdd.
General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the
partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order
the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the
four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi-
cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions
on an IDE disk.
For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the
second one.
They are typically created by:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
...
mknod -m 660 /dev/hda8 b 3 8
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
...
mknod -m 660 /dev/hdb8 b 3 72
chown root:disk /dev/hd*
FILES
/dev/hd*
SEE ALSO
chown(1), mknod(1), sd(4), mount(8)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 HD(4)