The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Resize root disk slices FredSmith UNIX for Dummies Questions & Answers 6 06-27-2007 05:31 PM
*BSD slices - multiple questions Derrek Filesystems, Disks and Memory 0 08-20-2004 03:46 PM
new disk slices kmgrady01 UNIX for Dummies Questions & Answers 3 04-02-2002 11:54 AM
filesystems resizing sshokunbi UNIX for Advanced & Expert Users 10 02-08-2002 02:21 PM
Solaris 8 installation slices owls UNIX for Dummies Questions & Answers 1 09-18-2001 10:04 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-15-2002
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
resizing slices

I downloaded the Solaris recommended patched for x86 and tried to install it, but I got the message that I dont have enough disk space. I don't want to install the patches without the option to back out. Anyway I did a df -k and found that my root mount point is in 948MB whereas my /export/home is 8GB. I would like to resize to make things a bit more even. I have some idea what to do( use the format command) but I read that doing this will cause me to lose all my data. Could someone please clarify-- will I lose data? Also, please explain what I need to do to resize slices.
Much appreciated.
  #2 (permalink)  
Old 12-16-2002
yls177
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
unlike aix, hpux, sun doesnt ofter LVM which has the flexibility to extend, configure as required... if i am not wrong, for sun platform, once u configure, there is no way u can reconfigure unless with the option of reslice everything again... and that of course will lose all the data.

please correct me if i am wrong..

thanks
  #3 (permalink)  
Old 12-17-2002
mslightn mslightn is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 24
Solstice DiskSuite is available with Sol9x86 (now available).

I don't believe it came packaged with Sol8x86.
  #4 (permalink)  
Old 12-17-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
And to answer the question, yes, you will lose your data unless you make a backup of it onto tape or whatever means you have. Do not backup to the same disk you are going to format.
  #5 (permalink)  
Old 12-18-2002
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
A unix admin suggested that if I do not want to lose my data then I can just move my root filesystem to the /export/home slice. I didnt really have anything I needed in export home so what I did was a ufsdump/restore from s0 (root slice) to s7 (/export/home). I then edited the vfstab in the /export/home/etc directory on s7 to point the root filesystem to s7. Then, made a bootblock on s7 with installboot.
My question is, how do I tell the OS to boot off of slice 7 instead of slice 0? I am running Solaris 8 intel.
  #6 (permalink)  
Old 12-18-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
You didn't lose your data dumping to the same disk since you didn't format (changing the sizes of the partitions). You are attempting to 'get around' the normal way of doing things (not wrong mind you...that is something we all try).

But, the problem is this. You aren't running Solaris 8 on a SUN system which would allow this. You are running X86. And according to SUN, it can't be done.


Quote:
[cpj@west 5/24/96]
The install program has always provided a feature to allow choosing which
slice will contain which partition. The root and swap partition can be located
anywhere. devconf appears to have a hardcoded ":a" in the constructed bootpath
which breaks this feature. Pehaps there's a swap limitation as well?

This feature can be used to allow multiple solaris versions to install on a
single
disk. By preserving the old filesystems, and installing into new slices, both
installations can be held on one disk (and switched between by setting
the appropriate root partition to type "root" with the format program).

In any event, the root partition should be determined as the other boot
stages do, by examing the vtoc for the first "root" partition.

The description field as copied from bug report 1261782 follows:

If a system is installed with the root filesystem on a slice other than slice 0,
the
installed system cannot be booted.

An attempt to boot from the hard drive will cause this screen to be displayed:

SunOs Secondary Boot version 3.00

<bootdev>:a: can't open - too many open devices
prom_panic: Could not mount filesystem.

use Ctl-Alt-Del to reboot

An attempt to boot using the boot floppy will cause these messages to appear:

Unable to mount a Solaris root filesystem from device:

......

/isa/ata@`,1f0/cmdk@0,0:a: can't open - slice not allocated
/isa/ata@`,1f0/cmdk@0,0:a: can't open - too many open devices

I tested this by installing an IDE system with the root on slice 7. I also
tried
a system with a buslogic ISA adapter with the root on slice 7. These systems
work fine if the root is on slice 0.
Work Around Top

The work around field as copied from bug report 1261782 follows:

Install with root on slice 0.
So you are back to square 1. You can either backup your data to tape, format the drive, and dump the tape back on, OR, reinstall from scratch. I don't believe there are any other choices.

One thing you might try...

IF your swap partition is set up right next to your root partition (on slice 1), you could cut a piece from slice 7 {insure you restored your data first that you put there onto the correct slice [0]} to move swap to. Then you could increase the size of your root partition....all this is dependent on what your partitions look like (please post how you had it set up originally and how it is set up now).
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 10:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0