![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use FORMAT and PARTITION command on Solaris 9 | duke0001 | SUN Solaris | 8 | 11-10-2007 09:28 PM |
| SHOSTS file format for SCP command | SSN | Shell Programming and Scripting | 1 | 05-22-2007 05:44 AM |
| Analogue of Format Command in AIX for IBM | bestoption | AIX | 2 | 11-24-2005 06:37 AM |
| how to format a grep command | jasongr | Shell Programming and Scripting | 2 | 11-18-2005 11:07 AM |
| awk command format ? | maheshsri | Shell Programming and Scripting | 0 | 11-14-2005 06:15 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
The reason I cannot install the Software Companion CD is that I have a hardrive that is 10GB. On my root slice/partition there is allocated 900MB, on my /export/home slice I have 8GB for use (these values were set by default on install). The software companion tries to install 600MB into my /opt folder on my harddrive, 600MB, which I do not have. So, I was told I should unmount the /export/home drive, then partition it into two slices, each around 4GB. Then remount /export/home to one slice and then mount /opt to the other slice and this should give me the correct amount of space I need to install the Software Companion CD. I'm having problems splitting up the 8GB /export/home into two slices. I umount /export/home, and then I used the format command, typed in partition, typed in the old partition number, 7, and I resized that partition. Then I tried to create the new partition or slice, by changing the values to an unassigned partition. Is this the correct way to do it? I then did the save option from the format command, and when I rebooted, it came up with an error, what am I doing wrong, Nathan.
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
What OS are you running?
|
|
#3
|
|||
|
|||
|
Resizing a file system
I believe that I know what your problem is. I believe that your formatting is not the issue, PROVIDED THAT YOU HAVE NOT OVERLAPPED CYLINDERS:-) What you either omitted to say or what you were not instructed to do is to edit /etc/vfstab
Once you have formatted and labelled the disk, do the following: 1. Take note of the logical device name (e.g. c0t0d0s5) Note: logical device name will henceforth be called "logdev" 2. Run "newfs -v /dev/dsk/<logdev>" 3. Run "fsck -y /dev/rdsk/<logdev>" 4. Verify that the mount point (/opt) already exists and, if not, make it. 5. Now, edit /etc/vfstab as follows: /dev/dsk/<logdev> /dev/rdsk/<logdev /opt ufs 3 yes - e.g. /dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /opt ufs 3 yes - Note: Separate each file entry with a tab and NOT a space. 6. mount /opt 7. Run "df -k" and verify that your file system has been mounted with the appropriate space allocated. 8. Reboot Well, I hope that this helps you. Take care. |
|||
| Google The UNIX and Linux Forums |