LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2006, 05:43 PM   #1
Chantale
LQ Newbie
 
Registered: May 2006
Location: Canada
Distribution: RHEL ES v4
Posts: 5

Rep: Reputation: 0
Partition & filesystem creation question


I'm a n00b with a question.

I have a system running RHEL v4 with 2 hard drives in a hardware Raid 0 config. I did a kickstart/cd installation, installed the necessary rpms from command line, and then found out I need another partition. /var is in a 47G partition. I copied /var to a temp directory on another partition, redid /dev/cciss/c0d0p2 (the physical partition that /var is in), then chose to add 1 extended and 4 logical partitions to c0d0p2. So now I've got c0d0p2p1 extended, and c0d0p2p5, c0d0p2p6, c0d0p2p7, c0d0p2p8 logical partitions. I need to create file systems in these partitions so that I may create mountpoints for them... one of the logicals will contain/mount to /var. The others are needed for an Oracle install, where I have to mount /u01, /u01/redo1, /u01/archive. I'll be mounting more /u01/.. directories on a SAN.. I've already got the file systems created in the partitions there. Am I approaching this correctly? Any hints?

Thanks
Shannon
 
Old 05-17-2006, 10:08 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Quote:
Originally Posted by Chantale
Am I approaching this correctly?
I see no problem from where I seat.
 
Old 05-17-2006, 10:39 AM   #3
Chantale
LQ Newbie
 
Registered: May 2006
Location: Canada
Distribution: RHEL ES v4
Posts: 5

Original Poster
Rep: Reputation: 0
Ok... herein lies the problem... When I try to create a filesystem on any of the new partitions I get an error.
Code:
# mkfs.ext3 /dev/cciss/c0d0p2p5
mke2fs 1.35 (28-Feb-2004)
Could not stat /dev/cciss/c0d0p2p5 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
I may have been a little murky in my previous explanation as to where partitions are situated..
Code:
/dev/cciss/c0d0p1   /boot
/dev/cciss/c0d0p2   /var
/dev/cciss/c0d0p3   /opt
/dev/cciss/c0d0p4   extended
/dev/cciss/c0d0p5   /usr
/dev/cciss/c0d0p6   /
/dev/cciss/c0d0p7   /tmp
/dev/cciss/c0d0p8   swap
c0d0p2 owns some partitions now...

Code:
/dev/cciss/c0d0p2p1   extended
/dev/cciss/c0d0p2p5   /var
/dev/cciss/c0d0p2p6   /u01
/dev/cciss/c0d0p2p7   /u01/redo1
/dev/cciss/c0d0p2p8   /u01/archive
This is hurting my brain. :P
 
Old 05-17-2006, 10:54 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
If I read this numbering correctly, you have p4 in the first list as an extended partition. In the second list, you have more partitions that look like subsets of partition 2. The two list do not appear to be consistent.....
 
Old 05-18-2006, 10:15 AM   #5
Chantale
LQ Newbie
 
Registered: May 2006
Location: Canada
Distribution: RHEL ES v4
Posts: 5

Original Poster
Rep: Reputation: 0
That may well have been the problem.. I thought it had been changed to an extended partition before I created the new subpartitions. I have worked around the problem, although it involved a complete new reinstall, adding the desired partitions to the kickstart disk. It's smooth sailing now!

Thanks for your insight!
 
  


Reply

Tags
filesystem, partition


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
About ext2 filesystem creation 7ux_spirit Linux - Newbie 1 04-30-2004 02:23 PM
Storage Partition Filesystem question for Dual boot Slackware and Windows XP Razza2004 Linux - General 4 03-31-2004 07:14 PM
free space partition creation & MBR question icehenge Slackware 13 03-23-2004 07:54 PM
filesystem & partition copying/relocating/restoring jqpdev Linux - General 1 03-06-2003 10:39 AM


All times are GMT -5. The time now is 05:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration