The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris System State & filesystems backup adel8483 SUN Solaris 2 01-26-2007 11:29 AM
Filesystems Supported by Solaris Ralph Armstrong SUN Solaris 1 02-14-2005 07:44 PM
Managing nodes??? TRUEST UNIX for Advanced & Expert Users 5 03-21-2003 05:47 AM
C++ Problem, managing >2Gb file ASOliveira High Level Programming 4 08-29-2002 03:39 PM
managing users SmartJuniorUnix UNIX for Dummies Questions & Answers 4 09-20-2000 03:34 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-16-2007
panchpan panchpan is offline
Registered User
  
 

Join Date: Aug 2007
Location: Australia
Posts: 115
Managing FileSystems on Solaris

Hello.
I have got Solaris 10 8/07 on x86 installed successfully using CDs. While I had inserted 1st CD - I created 2 new filesystems also.

But now after entering into Solaris - How do I manipulate sizes or created/delete filesystems by going to terminal?

Thank you!
  #2 (permalink)  
Old 10-16-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965

Code:
man format

this is how to create and delete partitions


Code:
man mkfs

is how to layout a file system


Code:
man mkdir

is how to create a mount point


Code:
man vfstab

is how to tell the OS what partitions appear on what mount points.
  #3 (permalink)  
Old 10-16-2007
panchpan panchpan is offline
Registered User
  
 

Join Date: Aug 2007
Location: Australia
Posts: 115
Thank you for your reply.

1) What is the actual difference between filesystem and mount point?
2) How do we get previous command on terminal like in HP-UX (using esc k) or in AIX (set -o vi) works?

Thank you!
  #4 (permalink)  
Old 10-16-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
a disk is a series of bytes

a partition or slice is a sequential subset of those bytes

a filesystem is an arrangement of directories, files and inodes on a partition

a mountpoint is the inode used by the operating system to make the root of a filesystem appear.

eg say you had all variable data on one partition, you would have an empty directory on the root filesystem and mount the var filesystem at "/var", typically by an entry in "/etc/vfstab".

using "mount" or "df" will show you different views of all the current active mountpoints.

in regards to shell, I use bash on Solaris, it solves all my character mapping problems.
  #5 (permalink)  
Old 10-16-2007
panchpan panchpan is offline
Registered User
  
 

Join Date: Aug 2007
Location: Australia
Posts: 115
I have got 2 FileSystems visible when I use df -k or mount command /u00 and /u01 of 5 GB and 10 GB respectively. Can you please let me know exact commands to execute for below:

1) Delete /u00
2) Modify /u01 from 10 GB size to 5 GB size
3) Create /u02 (new fs) of size 10 GB

Thank you - by using bash the issue of shells resolved.
  #6 (permalink)  
Old 10-16-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Why don't you do something like just rename /u01 to /u02, and rename /u00 to /u01?

This would be done by

umount /u00
umount /u01

rmdir /u00
mkdir /u02

edit /etc/vfstab to change the reference from /u01 to /u02, and /u00 to /u01.

then

mount /u01
mount /u02
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 12:23 AM.


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