Login or Register to Ask a Question and Join Our Community


why cant i do a newfs?


 
Thread Tools Search this Thread
Operating Systems Solaris why cant i do a newfs?
# 1  
Old 02-06-2008
why cant i do a newfs?

what do you make of this ??
all I want to do is newfs a slice of disk.....


# uname -a
SunOS myhost 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V240
# cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
#
# newfs /dev/dsk/c1t2d0s0
newfs: /dev/rdsk/c1t2d0s0 last mounted as /backup/OS
newfs: construct a new file system /dev/rdsk/c1t2d0s0: (y/n)? y
/dev/dsk/c1t2d0s0 is normally mounted on /backup/OS according to /etc/vfstab. Please remove this entry to use this device.
# echo $?
2
# 2  
Old 02-06-2008
Quote:
/dev/dsk/c1t2d0s0 is normally mounted on /backup/OS according to /etc/vfstab. Please remove this entry to use this device.
newfs is telling you why. You need to remove/comment the entry in vfstab.
# 3  
Old 02-06-2008
Quote:
Originally Posted by reborg
newfs is telling you why. You need to remove/comment the entry in vfstab.
never had to do that in other versions of solaris and was hoping that there may have been an easer/better way.....
# 4  
Old 02-06-2008
Yes, just comment out the entry.

edit: sorry, that was already suggested.

Last edited by jlliagre; 02-06-2008 at 05:57 PM..
# 5  
Old 02-06-2008
Quote:
Originally Posted by robsonde
never had to do that in other versions of solaris and was hoping that there may have been an easer/better way.....
Yes, it's actually quite annoying. Format also does similar things these days. I must remember to write an RFE for a "force" option for all the disk/fs commands.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Unable to create file system (newfs)

Hi I have the following cenario: I have requested a LUN from the NetApp to create a file system, and the netapp admin provide me with one as you can see below, but after following all the steps, I could not create a file system on the device: # format Searching for disks...done ... (11 Replies)
Discussion started by: fretagi
11 Replies

2. Solaris

stepping through newfs

On a RAID-5 solaris 9 server, we replaced a bad disk. Upon boot up, a mount point failed: vxvm:vxvol: ERROR: Volume IQ_Staging is not startable; some subdisks are unusable and the parity is stale With Sun tech support, we tried vxvol start and vxvol resync, but it remained... (3 Replies)
Discussion started by: abstractrick
3 Replies

3. Solaris

newfs i where to look for changed inode density

Hi All, While creating the ufs file system with newfs - i where can I see the change, I mean if the density of inode has been increased where I can see it. I tried with fstyp –v <slice> however not sure as where to look for the information. Will appreciate if I can get... (0 Replies)
Discussion started by: kumarmani
0 Replies

4. Solaris

difference between mkfs and newfs

hi what is the difference between mkfs and newfs (2 Replies)
Discussion started by: madhudeepan
2 Replies

5. Solaris

newfs

Hi, can someone please help me create a newfs on my unix server ? thankyou venhart (7 Replies)
Discussion started by: venhart
7 Replies

6. UNIX for Advanced & Expert Users

Using newfs to make file system on a sata disk using Acard adaptor

Hi All: I am using an adaptor between a 1TB SATA hard drive and solaris 8 box with 68 pin scsi. I use the format utility to partition the HD which works fine but when I use newfs, I get some errors. I will place them below. I have blocked and the error message is in red. Anybody got any... (1 Reply)
Discussion started by: mndavies
1 Replies

7. UNIX for Advanced & Expert Users

newfs hotspares: solaris volume manager

I'm running sun volume manager on solaris 9. I have two hotspares and are currently on standby. Both are not being utilized. Can I newfs both of them? Do I need to deleted the hostpares first, then newfs? hsp002: 2 hot spares Device Status Length Reloc ... (3 Replies)
Discussion started by: xnightcrawl
3 Replies

8. UNIX for Dummies Questions & Answers

newfs, mounting, new partitions, HELP!!

Looking for a good online primer/intro to creating a new file system, mounting, and eventually using NFS. Do you use newfs then mount or mount then newfs, how do you work with a new partition to create a new file system.... it's all a bit confusing. The man pages are a little too verbose and... (1 Reply)
Discussion started by: charliewade
1 Replies
Login or Register to Ask a Question

Featured Tech Videos