How to remove a ufs file system?


 
Thread Tools Search this Thread
Operating Systems Solaris How to remove a ufs file system?
# 1  
Old 10-05-2006
How to remove a ufs file system?

Hello,
On a box with Solaris 10 I created a ufs file system and now I need to remove that file system. How do I remove a ufs file system on Solaris 10?
Thanks.
# 2  
Old 10-05-2006
what did you use to create it? SVM? Veritas? newfs?

-S
# 3  
Old 10-06-2006
Actually I was going to remove the ufs and create a new vxfs with the same name, but then I found the vxfsconvert command so I guess my problem is solved. If anybody knows the answer of how to remove a ufs I'd still like to know in case I ever need to do it someday. Say I created one using newfs.
# 4  
Old 10-06-2006
pretty easy, delete the contents of the mount point.

umount it.

then remove the directory itself.

then go through format and wipe out the slice of the mount point.

save the label.

exit.

then you can do your vxassists to create new veritas mount point. hope that helps.

-S
# 5  
Old 10-06-2006
Thanks, that's helpful information
# 6  
Old 12-12-2006
Just to complete Sowser's answers:
Quote:
Originally Posted by Sowser
pretty easy, delete the contents of the mount point.
It's not necessary.
Quote:
umount it.
before this, make sure there are no processes working on that fs.
Quote:
then remove the directory itself.
It's not necessary.
Make sure also that your /etc/vfstab (or similars) has no references to that FS.
Quote:

then go through format and wipe out the slice of the mount point.

save the label.

exit.
It's not necessary. That's just a tag.
Now you can use that slice for whatever you want, leaving it as it is or changing it.

You don't really need to delete an ufs FS, just quit using it Smilie

Quote:
then you can do your vxassists to create new veritas mount point. hope that helps.

-S
Regards.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Remove file system from Solaris disk

hi, i have created a file system using newfs command in solaris 10, later i got error messages from the database which i am using. May be database using the disk also. My question is how to remove file system from the disk. Thanks (7 Replies)
Discussion started by: zeeshan047
7 Replies

2. Solaris

how to restore backup from veritas vm in ufs file system

Hi all I have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. backup was taken... (0 Replies)
Discussion started by: nikhil kasar
0 Replies

3. Solaris

restore dump from veritas format using ufs file system

hi all i have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. (3 Replies)
Discussion started by: nikhil kasar
3 Replies

4. Solaris

Mount ufs in ZFS system

Hi..I have installed Solaris 5.10 update 9 with ZFS system with RAID1. It is to be integrated with SAN which is UFS and . It is getting mounted but when i am rebooting server,it is getting removed from system. Pls let me know what all step need to follow for this. Thanks !! (15 Replies)
Discussion started by: deljatt
15 Replies

5. UNIX for Dummies Questions & Answers

rm: cannot remove file: Read-only file system

I have a file on a usb stick which I cannot remove and the following error message shows: rm: cannot remove `file-name': Read-only file system The usb stick is mounted as read-only on an Ubuntu system: $ mount /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw) none... (4 Replies)
Discussion started by: figaro
4 Replies

6. Solaris

UFS File System Periodically Corrupted - What to check?

The system is a SunFire V440 running SunOS 5.10 About once every 3-4 weeks, the system will reboot into single user mode on its own, and then I run svcs -xv, the filesystem service and dependent services will be disabled due to the metadisk file system being corrupted. The I've been doing... (2 Replies)
Discussion started by: the.gooch
2 Replies

7. Solaris

ufs file system

I ;ve an application which has does not support zfs and i 've a 100Gb Lun with zfs on it , how to go back to ufs .. and use SVM for the same ? (2 Replies)
Discussion started by: fugitive
2 Replies

8. UNIX for Dummies Questions & Answers

increasing ufs file system size in solaris

How do i increase the filesystem size on a root partition? There is a slice with root on it, its like 2 gigs and nothing else is broken out except home. I want to increase root filesystem (and slice) and break out /usr and /var. This is solaris 9, only has solaris volume manager on it. ... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

9. UNIX for Dummies Questions & Answers

solaris File system question ( UFS )

Hello all, I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1... (3 Replies)
Discussion started by: i2admin
3 Replies
Login or Register to Ask a Question