LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-25-2002, 04:19 AM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
partition woes :(


Hi all!
I'm sorry...this is a Solaris question, but I do hope u guys can help! This is the best discussion that I've been in, the most efficient My problem is this:

I'm basically new in the Sun Solaris environment (I'm a linux user), and recently i played around with the format command in my solaris 8 machine. I have this partitions called /u01 (/dev/dsk/c0t0d0s3 - 3.00gig) and /u02 (/dev/dsk/c0t0d0s4 -3.22 gig), and I used the format command (after forcing umount to unmount these partitions), chosed partition and then I resize the /u01 partition by changing its size to 4.00 gig. Then I adjust the size of the /u02 partition to 2.22 gig and its starting cylinder. This went ok, so after that i labelled the partition and quit the format menu. Then i tried to mount back /u01 and / u01. I could mount /u01, but when I tried to mount /u02, i got this error message:

mount: /dev/dsk/c0t0d0s4 is not this fstype.

What does this mean? I then rebooted the machine, and I got these errors saying that there is an unexpected inconsistency in /dev/dsk/c0t0d0s4 (which is supposed to be /u02 ), and it asked me to run fsck. What does this means? I did run fsck, but then it said something about bad super block: wrong magic number? Then i ran format command again, changed the partition to the old configuration. I found that i can mount /u01 and /u02 this time. What is the explaination behind this? Confusing... Please help me, somebody...

thanks a lot!

-suzana
 
Old 09-26-2002, 09:43 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
After creating a new disk or slice, and after the format, before you can use the newly created disk partition you want to run the newfs command so you can mount it and use it. It would look something like this:

newfs /dev/rdsk/c0t0d0s4

Notice it is running the command on the raw disk as well.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PPP woes in Slackware 10.0 on changing partition numbering gdiv Slackware 5 08-28-2004 11:05 PM
partition woes - logicals overlap?!? acidstars Linux - Newbie 3 06-23-2004 06:42 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
Partition Table Woes!!! rahulraj Linux - Newbie 2 06-13-2004 03:23 AM
RH 7.2 Partition Woes... PrincessDie Linux - Software 1 02-12-2002 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration