LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-03-2008, 07:29 AM   #1
rdharmalingam
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
Linux Partition creation.


Folks

I have HP DL120 server with HW RAID 1 Configured. While installation time I have used only around 60 GB Remaining around 80 GB i have free space. I want to create a new partition with 80 and it has to be mounted with /data.

I dont have any LVM setup here.

How to create /dev/mapper/ddXXXXXXXX device mapper id?


Current Partition type.

[root@localhost mapper]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ddf1_RHL5p3
59G 2.6G 53G 5% /
/dev/mapper/ddf1_RHL5p1
190M 16M 165M 9% /boot
tmpfs 3.0G 0 3.0G 0% /dev/shm


[root@localhost mapper]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 7858 62918572+ 83 Linux
/dev/sda3 7859 15691 62918572+ 83 Linux
/dev/sda4 15692 19435 30073680 5 Extended
/dev/sda5 15692 16213 4192933+ 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 25 200781 83 Linux
/dev/sdb2 26 7858 62918572+ 83 Linux
/dev/sdb3 7859 15691 62918572+ 83 Linux
/dev/sdb4 15692 19435 30073680 5 Extended
/dev/sdb5 15692 16213 4192933+ 82 Linux swap / Solaris
[root@localhost mapper]#
 
Old 11-03-2008, 08:20 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
What is your question exactly ? What program to use to partition drives ? What distro ? How to set up LVM or raid ?

David
 
Old 11-03-2008, 09:42 AM   #3
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
Hi,
Firstly take a backup of your system (at least your data files).

You need to check yourself, but far as I know Gparted and QtParted, both GUIs of the command line Parted tool, can resize existing partitions. So you can resize your existing partition to make space for your new one.
Then use e.g. cfdisk to create the new one from the free space you created.
Then format the new partition e.g. to ext3. You lastly edit the /etc/fstab file to mount the new partition to /data, or wherever else you want it.

Good luck and don't forget the back first...

Mons
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition & filesystem creation question Chantale Linux - Newbie 4 05-18-2006 11:15 AM
free space partition creation & MBR question icehenge Slackware 13 03-23-2004 08:54 PM
post installation creation of /home partition problem timsch75 Linux - Newbie 2 03-13-2004 10:07 AM
NTFS Partition Creation + VMware ferreter Slackware 2 02-17-2004 09:11 AM
partition creation errors lestat1729 Linux - General 1 02-15-2004 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration