Managing FileSystems on Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Managing FileSystems on Solaris
# 8  
Old 10-17-2007
Now to cleanup I did below, whether any of /uXX existed or no:

umount /u00 /u01 /u02
rmdir /u00 /u01 /u02
Modifiec /etc/vfstab to have below entries:
/dev/dsk/c0d0s3 /dev/rdsk/c0d0s3 /u00 ufs 2 yes -
/dev/dsk/c0d0s4 /dev/rdsk/c0d0s4 /u01 ufs 2 yes -
mkdir /u00 /u01
mount /u00
mount /u01 [This gave an error:]
mount: No such device
mount: Cannot mount /dev/dsk/c0d0s4

Even though I can see one directory exist as /u01

Please suggest.
# 9  
Old 10-17-2007
Do you have

(a) a copy of what your vfstab was before

(b) a copy of what "mount" said before?

can you print out your partition table with format?
# 10  
Old 10-17-2007
(a) a copy of what your vfstab was before

(b) a copy of what "mount" said before?

can you print out your partition table with format?


I had not copied the entries of vfstab and mount - But I remember the device names and allocated sizes. Here is the output related to /u01 after format command:

/dev/dsk/c0d0s3 is currently mounted on /u00. Please see umount(1M).
/dev/dsk/c0d0s4 is normally mounted on /u01 according to /etc/vfstab. Please remove this entry to use this device.

Output of print table:
Part Tag Flag Cylinders Size Blocks
4 unassigned wm 1355 - 2660 10.00GB (1306/0/0) 20980890 [The one I have problem with]
4 unassigned wm 1355 - 1409 431.43MB (55/0/0) 883575 [This I was trying to create in morning with 55c, But had got an error while using mkfs as the allocated space was unavailable.

Please advice!
# 11  
Old 10-17-2007
Please let me know How do I get back with original /u01 ?
# 12  
Old 10-17-2007
I have managed to reboot and repair of filesystem. Let me post the fresh query here again:

I have got 2 FileSystems visible when I use df -k or mount command /u00 and /u02 of 5 GB and 10 GB respectively. Can you please let me know exact commands to execute for below:

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

Thank you!
# 13  
Old 10-17-2007
Quote:
Originally Posted by panchpan
2) Modify /u02 from 10 GB size to 5 GB size
You can't really do that without deleting then recreating.

What I was suggesting you do is use what you already have, because the partition/filesystem sizes are what you want, but just on the wrong mountpoints.

I suggest you save a copy of your /etc/vfstab, umount the two, mkdir the mountpoints you want, then change your /etc/vfstab to put the appropriate filesystem on the correct mountpoint, then mount them.
# 14  
Old 10-17-2007
But then How would I assign or allocate the size for new filesystems?
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