file system creation

i have recently added three hdd to my server (300gb x 3) and created RAID on the same and upon rebooting the server we can see the new partition as

/dev/cciss/c0d1 doesnt contain a valid parition table

i then did

mkfs -ext3 /dev/cciss/c0d1 and mount -t ext3 /dev/cciss/c0d1 /u02

added this in fstab as

label=/u02         /u02     ext3     defauls    1 2

now upon rebooting it says some error

asking to press ctrl d for maintenance and other optin was to repair file system 1
when i selected repair filesystem 1 it again went to repair filesystem 2 .3 4 etc


how to proceed
LVL 1
kurajeshSenior Systems AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kurajeshSenior Systems AnalystAuthor Commented:
the error was unable to resolev the label /u02

how can i remove the added entry and make proper entry for that /u02
rindiCommented:
You need to create a mount point (directory into which the file system will be mounted). Usually those are in the /mnt folder. So go to that folder, then use mkdir to create the u02 folder. After that edit your fstab file again and change the entry from /u02 to /mnt/u02
kurajeshSenior Systems AnalystAuthor Commented:
the issue is i cannot login to system how can i make the edit

in fact i created a directory u02 in root and mounted , it got mounted i think the fstab entry is the issue,

now how can i remove the entry from fstab as iam not able to login
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

rindiCommented:
The boot menu should have a recovery mode or similar entry, that way you should should be able to log in. If that doesn't help use a LiveCD to boot the system with, and then try editing the entry.
kurajeshSenior Systems AnalystAuthor Commented:
shall i try with the bootable linux cd which i have , i think i need to press rescue option
rindiCommented:
Yes, probably. It depends a little on the Distro. If the Bootable CD has a GUI it should be no problem. If it is a pure install CD it is more difficult. Otherwise a very good one is PartedMagic:

http://partedmagic.com

What distro are you on, RedHat? CentOS? Scientific? Or something completely different?
kurajeshSenior Systems AnalystAuthor Commented:
it is oel 4.5

i have only the install CD. how can i try with that.
rindiCommented:
I don't use that distro so I'm not sure. I would probably go with the PartedMagic LiveCD.
arnoldCommented:
The system should boot without issue into single user mode.
When you hit Carl-d and get to the shell, you could use e2label /dev/cciss/c0d1 /u02
And that should resolve the issue going forward or edit /etc/fstab and replace the label=/u02 with /dev/cciss/c0d1.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kurajeshSenior Systems AnalystAuthor Commented:
another issue is the cdrom is a faulty drive so i have a ide controller cd drive and connected , now i can boot with the cd. i pressed f5 and typed linux rescue, it then started searching for usb storage drives but couldnt go further.

by the way i need to try ctrl + d and then  e2label /dev/cciss/c0d1 /u02.

iam just attaching the error message which i got earlier
IMG00097-20120329-1226.jpg
arnoldCommented:
Oops, you should enter the root password to get the shell access, set the label and then hit ctrl-d to resume booting
Or modify the /etc/fstab replacing the label ref with the disk as outlined above.
kurajeshSenior Systems AnalystAuthor Commented:
attached is the screenshot when i selected root password
IMG00099-20120329-1635.jpg
arnoldCommented:
can you run pwd,
e2label
fsck
or for every attempt it tells you that it can not find the command?
is /bin/, /sbin
is /usr/bin /usr/sbin
available

help or ? to see what options you have.
kurajeshSenior Systems AnalystAuthor Commented:
repair filesystem 1 # - i selected 1 then it prompted as
repair filesystem 2 # - again  i selected 2 like that it continues.

how should i proceed
arnoldCommented:
I've not see in my self, so it is not clear to me which file system issue exists on the system.
Could you try booting the system in single user mode
During the boot up splash, interrupt it and add single to the end of the line and boot the system
http://oracleajidba.blogspot.com/2010/12/how-to-reset-root-password-in-oel-55.html
Once the system boots you should be able to either label the raided volume as u02 or adjust the fstab to use the raw device reference /dev/cciss/c0d1

You can also run fsck to the various volumes.
Do you have oracle database ocsf or asm filesystems to which the error might refer?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.