Managing FileSystems on Solaris

Thread Tools Search this Thread
Operating Systems Solaris Managing FileSystems on Solaris
# 1  
Old 10-16-2007
Managing FileSystems on Solaris

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  
Old 10-16-2007
man format

this is how to create and delete partitions

man mkfs

is how to layout a file system

man mkdir

is how to create a mount point

man vfstab

is how to tell the OS what partitions appear on what mount points.
# 3  
Old 10-16-2007
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  
Old 10-16-2007
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  
Old 10-16-2007
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  
Old 10-16-2007
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.


mount /u01
mount /u02
# 7  
Old 10-17-2007
Hello - Thanks for your reply, It was quite short n sweet method - I was struggling so many big commands Smilie

However, I got an error in last while using #mount /u02
mount: No such device
mount: Cannot mount /dev/dsk/c0d0s4

Please advice.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Warnings about read-only filesystems while installing a Solaris package

I have two test machines having solaris 10. I have shared a location which have a package on machine1 and mounted that location onto machine2 as below. machine1: share -F nfs -o rw /home1/pkg/test machine2: mount -F nfs -o rw machine2:/home1/pkg/test /tmp/test Now, when i am trying to... (8 Replies)
Discussion started by: snreddy_gopu
8 Replies

2. Programming

Managing and using PTSes

Hello. I need to simulate a few serial links (doing a simulation of an application for a robot) and found socat which, at least with minicom, is working flawlessly. I would really like to make pts static: ie same numbers between reboots, and automatic (not me opening terminals and leaving... (2 Replies)
Discussion started by: erupter
2 Replies

3. What is on Your Mind?

Managing Geeks

Hi, I recently found this article in computerworld and I think it is very true - at least in my company ... what do you guys think - is the author right? Is it ignorant management that makes us IT people seem to be anti-social and weird? Please share your thoughts Kind regards zxmaus (5 Replies)
Discussion started by: zxmaus
5 Replies

4. Solaris

Solaris System State & filesystems backup

Hi , We are using Veritas Net Backup , I want to create a new policy for backing up the (Solaris Operating System & the file systems) only the OS. not Full backup because we have an other policy for Oracle Apps and it takes full backup for all Partitions. I need the OS backup to be in... (2 Replies)
Discussion started by: adel8483
2 Replies

5. Solaris

Filesystems Supported by Solaris

Could someone please tell me which filesystems are supported by Solaris? I am specifically interested in ext2, ext3, and XFS. Is XFS included in a standard Solaris distro? Are ext2 and ext3 only supported in Read-Only using lxrun? Thanks. (1 Reply)
Discussion started by: Ralph Armstrong
1 Replies

6. UNIX for Advanced & Expert Users

Managing nodes???

Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Discussion started by: TRUEST
5 Replies

7. UNIX for Dummies Questions & Answers

managing users

I need to setup several accounts on a solaris system. (passwd,shadow,group) My question is : How can I create a group which can access a machine, but only in certain directories? (4 Replies)
Discussion started by: SmartJuniorUnix
4 Replies
Login or Register to Ask a Question