Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 443
  • Last Modified:

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
0
kurajesh
Asked:
kurajesh
  • 7
  • 4
  • 4
3 Solutions
 
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
0
 
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
0
 
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
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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.
0
 
kurajeshSenior Systems AnalystAuthor Commented:
shall i try with the bootable linux cd which i have , i think i need to press rescue option
0
 
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?
0
 
kurajeshSenior Systems AnalystAuthor Commented:
it is oel 4.5

i have only the install CD. how can i try with that.
0
 
rindiCommented:
I don't use that distro so I'm not sure. I would probably go with the PartedMagic LiveCD.
0
 
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.
0
 
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
0
 
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.
0
 
kurajeshSenior Systems AnalystAuthor Commented:
attached is the screenshot when i selected root password
IMG00099-20120329-1635.jpg
0
 
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.
0
 
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
0
 
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?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 7
  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now