LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 09-11-2003, 05:10 AM   #1
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Rep: Reputation: 30
Partition mishap- OS 5.8


I was working on partitioning on slice 5 and 6. After serveral to mount the new partition unsuccessfully, so I decide to reboot the machine to do fsck. The system never came back up and enter single user mode. I try use command but it l not execute, look like the filesystem is gone. I get "segmentation fault" error. Any advice to fix this.
 
Old 09-11-2003, 08:33 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Which filesystems were on slices 5 and 6? Also, after you modified the sizes of the slices, did you create new file systems before attempting to mount them? You may want to boot off of a CD and then fix the file systems if you need to.
 
Old 09-11-2003, 08:46 AM   #3
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
Filesystem 5 was /home and 6 was /usr. Yes, I inputed newfs command but I was not able to mount them due to disk busy. I going to boot CD now.
 
Old 09-11-2003, 04:23 PM   #4
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Given that /usr is a critical filesystem, I'm curious as to what you were doing when you were "working on partitioning on slice 5 and 6". Did this happen during an install or on a running system?
 
Old 09-17-2003, 02:31 PM   #5
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
Hey Stickman....the machine was running during partition. I was able to boot from cdrom and started to do fsck. The fsck run and notice alot of blocks need to fix, delete, remove, etc. I think I corrupt the whole disk. Anyway to fix this chaos? When i do a df -k, i notice filesystem like export, var are missing. When I mount, the disk is busy.
 
Old 10-09-2003, 09:15 AM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Working with a live file system is tricky, and I would not recommend doing anything like this unless you have some sort of volume management software in place. Also, it is a very rare day when Solaris will let you mount a file system that needs to be fsck'd. You'll need to fsck them first.

When you boot from CD and do a "df -k", you are seeing only the file systems on the CD unless you mount the drive slices. You'll need to mount the drive slices to /mnt or the system will give you the "busy" error.
 
Old 10-23-2003, 11:59 AM   #7
mmars
LQ Newbie
 
Registered: Sep 2003
Location: Pasadena, MD
Distribution: Solaris, MacOS X, Linux
Posts: 27

Rep: Reputation: 15
Ummm... you should never change the geometry of any live filesystem. Especially /usr. /usr is where all of the system libraries are kept.

What did you change slice 6 to? and what was it before? Just remember, whenever you change the filesystem geometry, you have to do a newfs.

--Matt
 
  


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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee Suse/Novell 20 10-31-2005 08:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 02:31 AM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-18-2004 12:05 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM


All times are GMT -5. The time now is 01:21 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