f



newfs OK, mount failed.

Hi, I tried to create a new fs in solaris 5.10 with the following
command, but I am not able to mount the disk.

# newfs -Nv /dev/rdsk/c2t1d0s2
mkfs -F ufs -o N /dev/rdsk/c2t1d0s2 71127180 -1 -1 8192 1024 251 1 167
8192 t 0 -1 8 128 n
Warning: cylinder groups must have a multiple of 16 cylinders with the
given
         parameters
Rounded cgsize up to 256
/dev/rdsk/c2t1d0s2:     71127180 sectors in 24620 cylinders of 27
tracks, 107 sectors
        34730.1MB in 770 cyl groups (32 c/g, 45.14MB/g, 5632 i/g)
Warning: 1908 sector(s) in last cylinder unallocated
/dev/rdsk/c2t1d0s2:     71127180 sectors in 11577 cylinders of 48
tracks, 128 sectors
        34730.1MB in 724 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
Error determining alternate superblock locations

# mount -F ufs /dev/rdsk/c2t1d0s2 /u01
mount: /dev/rdsk/c2t1d0s2 not a block device
# mount -F ufs /u01 /dev/rdsk/c2t1d0s2
mount: /devices/pci@8,600000/SUNW,qlc@4/fp@0,0/
ssd@w21000004cf962555,0:c,raw not a directory
        or a component of /u01 is not a directory
#

Very appreciate for any suggestion.

Thanks
S

0
swun2010 (29)
5/29/2007 3:52:46 AM
comp.unix.solaris 26025 articles. 2 followers. Post Follow

8 Replies
1169 Views

Similar Articles

[PageSpeed] 37

swun2010@gmail.com wrote:
> Hi, I tried to create a new fs in solaris 5.10 with the following
> command, but I am not able to mount the disk.
> 
> # newfs -Nv /dev/rdsk/c2t1d0s2
> mkfs -F ufs -o N /dev/rdsk/c2t1d0s2 71127180 -1 -1 8192 1024 251 1 167
> 8192 t 0 -1 8 128 n
> Warning: cylinder groups must have a multiple of 16 cylinders with the
> given
>          parameters
> Rounded cgsize up to 256
> /dev/rdsk/c2t1d0s2:     71127180 sectors in 24620 cylinders of 27
> tracks, 107 sectors
>         34730.1MB in 770 cyl groups (32 c/g, 45.14MB/g, 5632 i/g)
> Warning: 1908 sector(s) in last cylinder unallocated
> /dev/rdsk/c2t1d0s2:     71127180 sectors in 11577 cylinders of 48
> tracks, 128 sectors
>         34730.1MB in 724 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
> Error determining alternate superblock locations
> 
> # mount -F ufs /dev/rdsk/c2t1d0s2 /u01
> mount: /dev/rdsk/c2t1d0s2 not a block device
> # mount -F ufs /u01 /dev/rdsk/c2t1d0s2
> mount: /devices/pci@8,600000/SUNW,qlc@4/fp@0,0/
> ssd@w21000004cf962555,0:c,raw not a directory
>         or a component of /u01 is not a directory

Try using /dev/dsk/c2t1d0s2 instead of /dev/rdsk/....

- Erik
0
erik
5/29/2007 5:34:12 AM
Hi,

1.: '-N' means 'no execution'. Don't use this.

2.: mount <block-device> <dir> is the right way:

#mount /dev/dsk/c2t1d0s2 /u01

#man newfs
#man mount
is also a good idea.

Michael



swun2010@gmail.com wrote at 29.05.2007 05:52
> Hi, I tried to create a new fs in solaris 5.10 with the following
> command, but I am not able to mount the disk.
> 
> # newfs -Nv /dev/rdsk/c2t1d0s2
> mkfs -F ufs -o N /dev/rdsk/c2t1d0s2 71127180 -1 -1 8192 1024 251 1 167
> 8192 t 0 -1 8 128 n
> Warning: cylinder groups must have a multiple of 16 cylinders with the
> given
>          parameters
> Rounded cgsize up to 256
> /dev/rdsk/c2t1d0s2:     71127180 sectors in 24620 cylinders of 27
> tracks, 107 sectors
>         34730.1MB in 770 cyl groups (32 c/g, 45.14MB/g, 5632 i/g)
> Warning: 1908 sector(s) in last cylinder unallocated
> /dev/rdsk/c2t1d0s2:     71127180 sectors in 11577 cylinders of 48
> tracks, 128 sectors
>         34730.1MB in 724 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
> Error determining alternate superblock locations
> 
> # mount -F ufs /dev/rdsk/c2t1d0s2 /u01
> mount: /dev/rdsk/c2t1d0s2 not a block device
> # mount -F ufs /u01 /dev/rdsk/c2t1d0s2
> mount: /devices/pci@8,600000/SUNW,qlc@4/fp@0,0/
> ssd@w21000004cf962555,0:c,raw not a directory
>         or a component of /u01 is not a directory
> #
> 
> Very appreciate for any suggestion.
> 
> Thanks
> S
> 
0
Michael
5/29/2007 6:36:35 AM
swun2010@gmail.com wrote:
> Hi, I tried to create a new fs in solaris 5.10 with the following
> command, but I am not able to mount the disk.
> 
> # newfs -Nv /dev/rdsk/c2t1d0s2

Try actually newfs'ing the filesystem instead of just testing the options.
Have you read the manpage what the option flags really mean (esp. -N)?

-- 
Daniel
0
Daniel
5/29/2007 7:47:21 AM
Daniel Rock <v200722@deadcafe.de> wrote:
> swun2010@gmail.com wrote:
>> Hi, I tried to create a new fs in solaris 5.10 with the following
>> command, but I am not able to mount the disk.
>> 
>> # newfs -Nv /dev/rdsk/c2t1d0s2

> Try actually newfs'ing the filesystem instead of just testing the options.
> Have you read the manpage what the option flags really mean (esp. -N)?

That's probably the third or fourth time I've seen a similar request in
the last 6 to 8 months.  None of the requests mentioned it, but I wonder
if there's some buggy HOWTO or guide out there that they're all
stumbling over.

It doesn't seem to me the sort of error that folks would make on their
own (at least not independently).

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
0
Darren
5/29/2007 5:05:24 PM
On May 29, 5:47 pm, "Daniel Rock" <v200...@deadcafe.de> wrote:
> swun2...@gmail.com wrote:
> > Hi, I tried to create a new fs in solaris 5.10 with the following
> > command, but I am not able to mount the disk.
>
> > # newfs -Nv /dev/rdsk/c2t1d0s2
>
> Try actually newfs'ing the filesystem instead of just testing the options.
> Have you read the manpage what the option flags really mean (esp. -N)?
>
thanks, executing the newfs without -N (for testing) actually takes a
long time .
When I am typing this msg, it is still not returned to the shell.

# newfs -v /dev/dsk/c1t5d0s0
newfs: construct a new file system /dev/dsk/c1t5d0s0: (y/n)? y
mkfs -F ufs /dev/dsk/c1t5d0s0 497340605 128 48 8192 1024 16 1 1 8192 t
0 -1 1 -1 n

Is this because the disk is too big? it is a 247GB storage disk.

Thanks
S
> --
> Daniel


0
swun2010
5/29/2007 10:48:26 PM
swun2010@gmail.com wrote:
> On May 29, 5:47 pm, "Daniel Rock" <v200...@deadcafe.de> wrote:
>> swun2...@gmail.com wrote:
>> > Hi, I tried to create a new fs in solaris 5.10 with the following
>> > command, but I am not able to mount the disk.
>>
>> > # newfs -Nv /dev/rdsk/c2t1d0s2
>>
>> Try actually newfs'ing the filesystem instead of just testing the options.
>> Have you read the manpage what the option flags really mean (esp. -N)?
>>
> thanks, executing the newfs without -N (for testing) actually takes a
> long time .

It should be providing output.  Is it just itting there?

> When I am typing this msg, it is still not returned to the shell.

> # newfs -v /dev/dsk/c1t5d0s0
> newfs: construct a new file system /dev/dsk/c1t5d0s0: (y/n)? y
> mkfs -F ufs /dev/dsk/c1t5d0s0 497340605 128 48 8192 1024 16 1 1 8192 t
> 0 -1 1 -1 n

> Is this because the disk is too big? it is a 247GB storage disk.

No.  Even pre-Solaris9 UFS could handle filesystems up to 1TB.

'iostat -nx 5' should show activity on that disk during the filesystem
creation.

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
0
Darren
5/29/2007 11:46:25 PM
swun2010@gmail.com wrote:
> # newfs -v /dev/dsk/c1t5d0s0

Use newfs on the raw-device:

newfs /dev/rdsk/c1t5d0s0

-- 
Daniel
0
Daniel
5/31/2007 1:24:59 AM
In article <f3l85b$1plc$1@deadcafe.de>,
Daniel Rock <v200722@deadcafe.de> wrote:
>swun2010@gmail.com wrote:
>> # newfs -v /dev/dsk/c1t5d0s0
>
>Use newfs on the raw-device:
>
>newfs /dev/rdsk/c1t5d0s0
>
>-- 
>Daniel

You newfs the raw device /dev/rdsk/...  but mount the cooked device
/dev/dsk/...
-- 
Tom Schulz
schulz@adi.com
0
schulz
6/8/2007 6:09:01 PM
Reply:

Similar Artilces:

Solaris 10 1/06 OK, but Solaris Express Build 33 and 36 fail
I don't know if this useful to anyone at Sun, or if anyone can how I might proceed. I have installed Solaris 10 1/06 on a homebuilt PC. This has a Tyan S2895 (aka Thunder K8WE) Dual-Opteron motherboard (mine has the SCSI controller. model S2895UA2NRF) with a single Opteron 248 (I'll add another CPU later). http://www.tyan.com/products/html/thunderk8we.html I've installed the latest (1.03) BIOS. Solaris 10 1/06 now works OK, although I need to sort out minor things. But I can't get it to boot with Solaris Express Build 33 or 36. I've tried both Build 33 and 36, but...

format OK, but mount still fail.
Hi, The system I am working on is a Sun 5.10 server. Here is what I have done to try to mount the Storage disk: # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t5d0 <Symbios-StorEDGE A1000-0301-237.16GB> /pci@8,700000/scsi@1/sd@5,0 1. c2t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf96fd92,0 2. c2t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf962555,0 Specify disk (enter its number): # format /dev/rdsk/c1t5d0s0 sel...

format OK, but mount still fail. #3
Hi, The system I am working on is a Sun 5.10 server. Here is what I have done to try to mount the Storage disk: # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t5d0 <Symbios-StorEDGE A1000-0301-237.16GB> /pci@8,700000/scsi@1/sd@5,0 1. c2t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf96fd92,0 2. c2t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf962555,0 Specify disk (enter its number): # format /dev/rdsk/c1t5d0s0 sel...

format OK, but mount still fail. #2
Hi, The system I am working on is a Sun 5.10 server. Here is what I have done to try to mount the Storage disk: # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t5d0 <Symbios-StorEDGE A1000-0301-237.16GB> /pci@8,700000/scsi@1/sd@5,0 1. c2t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf96fd92,0 2. c2t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf962555,0 Specify disk (enter its number): # format /dev/rdsk/c1t5d0s0 sel...

Mount all fails but specific mount works
10.3.9: Graphite:~ sysadmin$ df -k | grep Games Graphite:~ sysadmin$ nidump fstab . Symetra:/usr/Games /Games nfs net 0 0 Blueberry:/Users/Shared /Users/Shared nfs net 0 0 Graphite:~ sysadmin$ sudo mount -a Graphite:~ sysadmin$ df -k | grep Games Graphite:~ sysadmin$ sudo mount Symetra:/usr/Games /Games Graphite:~ sysadmin$ df -k | grep Games Symetra:/usr/Games 5397006 3896584 1068662 78% /Games Why does 'mount -a' not do it and give no error message? On Blueberry, fstab has a much longer list, and 'mount -a' loads all of them--except Games, yet the specific comman...

Solaris 10 (build 63) upgrade fails on Solaris 8 as well as Solaris 9 sparcs
Hello Using the Solaris 10 build 63 for sparc. Tried to do upgrades on the following two machines. 1. E4500 Solaris 8 (117350-11 Kernel level) Entire Distribution OEM support cluster, OBP 3.2.30. 2. Ultra 2 Solaris 9 Entire Distribution and OEM support cluster. On both machines the upgrade starts when I put the CD 1 and and reaches to the point where I have to select whether I want to do "Initial Install" or "Upgrade". When I check upgrade it starts initializing the system and halfway through I get the follwoing error "Could not reinitialize the sy...

Problem with booting Solaris 10 (ERROR: svc:/system/filesystem/root:default failed to mount /usr)
Dear Sun experts, I have a strange problem witrh a Sunblade 1000 running Solaris 10 (6/06). If I try to boot the machine I get the error 'failed to mount /usr' (details see my console output below). But since I only have one system partition and no seperate /usr partition the system doesn't need to mount a seperate /usr partition. If I navigate to the /usr directory it is available (see the bottom, of my console output). If I try to resolve the error with svcadm clear or svcadm enable I get the error again. Does anyone have a hint/idea how to solve my problem ? Best regards, D...

how to mount Solaris 10 onto a Solaris 7 system?
Here's my scenario: server = name of system with Solaris 10 client = name of system with Solaris 7 On "server", I shared out the proper directory in the file /etc/dfs/ dfstab I also did a "shareall". I confirmed that the path I want to share out is correctly shared. Both systems have the same user name and password; however, the group this user belongs to, is different on each system. I can telnet to and from both systems. Inside /etc/hosts.equiv on both systems, I even put in "+" just to test a test mount. I went on the client system (on Solaris 7), an...

INT 21 AH=40 FAILS!! ALSO INT 21 AX=3D02H FAILS WHY??? SYSTAX OK!!! PLEASE HELP!!! USING WIN98 AND XP FAILS IN BOTH OP SYSTEMS
The follwing 2 programs compiled with tasm and tlink and debugged with td.exe gives me a dos extended error code of 86H in ax register which is dirve already has JOINed drives(which means nothing to me). why are my INT 21 instructions failing!!!! Syntax compiles fine!!!!! when I use INT 21 on file open function I get an error ax=0002h which is (FILE NOT FOUND) BULL!!!! its there I used DIR and confirmed it! (path is correct)-see program 2 below _______________prog 1__________________ PAGE 58,32 TITLE FUN ..286C SSEG SEGMENT STACK DB 32 DUP("STACK--") SSEG ENDS DSEG SEGMENT M...

USB pen/mp3player fails to mount (BBB reset failed)
I've just purchased a PHILIPS Key Audio 256MB USB stick/mp3 player. When I try to mount it, I get this error message: Jun 26 15:50:01 omehenk /kernel: umass0: BBB reset failed, TIMEOUT Jun 26 15:50:01 omehenk /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Jun 26 15:50:01 omehenk /kernel: umass0: BBB bulk-out clear stall failed, IOERROR Jun 26 15:50:06 omehenk /kernel: umass0: BBB reset failed, IOERROR Jun 26 15:50:06 omehenk /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Jun 26 15:50:06 omehenk /kernel: umass0: BBB bulk-out clear stall failed, IOERROR Ea...

Solaris Mounting
Hi All, Our Client is using Solaris 10 and 9 Enviornment with Zones on S10.. Actucally i want some script which are basically monitor the Systems nfs mount(client is using sap enviorment so some volume mounted via nfs-some time it dismounted so is there any tools which gives the output from which we can monitor which FS has unmounted) ,Which service is running or killled , server health like virtual memory status, diskspace , CPU utilizations etc.. They are having huge setup mean big number of servers.. Your reply would be high appriciated . Thanks in Advance. Nikunj Khakhar, Sr. Systems...

(Help) FTP fails in Solaris 9 but not in Solaris 2.6
Our Sun E3500 server has been upgraded from Solaris 2.6 (105181-17 ) to Solaris 9 (112233-11). There are no changes in any of the FTP binaries. We take & use all the default FTP binaries and values which come with Solaris 9. Our 3rd party FTP program, which extract and put datas to our E3500 server used to work when it's under Solaris 2.6. However, since the OS upgraded to Solaris 9, we have been getting the following error messages and the program fails. There's no change in the 3rd party FTP program end. We need help in resolving the problem. Specifically, - Are there any...

how to mount onto Solaris 7 system from Solaris 10 system?
I have the same users and passwords created on both systems, but the number for the group ID is different. On the Solaris 10 system, I used /etc/dfs/dfstab to share out the path I want to be mounted. I did a "shareall" also. The "nfsd" daemon is running on both systems. From the Solaris 7 station, logged in as root, I used this command: mount server_name:/home/data /mnt where server_name = name of the Solaris 10 system But I got the "permission denied" error. Does anyone know how I can fix this? Thanks. ...

mount fails
On all my Linux boxen, I use the same exports syntax. e.g.: /home 192.168.1.0/255.255.255.0(ro,root_squash,sync) When on OS/2 I do: mount -gid550 -uid500 X: 192.168.1.2:/home I get success, because 192.168.1.2 is my SuSE 8.2 box. However, on all my Linux boxen with newer distros, such as SuSE 9.1, I get failure, such as: IBM NFS of OS/2 MOUNT version 3.99 Release: m17 MOUNT: 192.168.1.2:/pub NFSU1003: Drive X: could not be attached to the filesystem NFSU1028: Error creating NLM client Use the following command to show the export list of the server: showexp 192.168.1.2 Note:...

Web resources about - newfs OK, mount failed. - comp.unix.solaris

Failed States (album) - Wikipedia, the free encyclopedia
^ Andrews, Alex (August 31, 2012). "Album: Propagandhi - Failed States" . Thrash Hits . Retrieved September 28, 2012 . ^ Okorley, Dre (September ...

The President's Speech Distorts the Truth to Distract From His Failed Record - Facebook
Paul Ryan hat eine Notiz mit dem Titel The President's Speech Distorts the Truth to Distract From His Failed Record geschrieben. Du kannst den ...

Facebook’s Failed Privacy PR Campaign Against Google: An Industry Practice, Poorly Done
In a spectacularly failed attempt at undermining the competition, Facebook has admitted that it hired public relations giant Burson-Marsteller ...

My own spin on the story du jour: Why The Daily failed.
My own spin on the story du jour: Why The Daily failed.

Authorization Failed - LinkedIn
Sorry you are not authorized to perform this action. To find out more please contact LinkedIn customer service .

Business Models : What consumer Internet companies had a large number of users but failed to monetize ...
Answer (1 of 46): I can't think of one. All the companies mentioned here either: a) *Did* have significant revenues: * Netscape (the same ...


Why "Global Warming" Failed & Why Climate Change is Real - YouTube
CLIMATE CHANGE IS VERY REAL - BUT THE OFFICIALS HAVE JEOPARDIZED OUR ABILITY TO PREPARE FOR THE FUTURE Global warming models/predictions have ...

Hotel defends claim it failed to protect staffer in rape case
... has been cleared to file for damages against her former employer in Fujairah. A hotel has defended itself against allegations that it failed ...

Melbourne student’s failed get-rich-quick scheme costs classmates
A student at&nbsp;one of Melbourne's elite private schools has allegedly fleeced up to $185,000 from classmates in a failed&nbsp;get-rich-quick&nbsp;scheme. ...

Resources last updated: 1/28/2016 11:42:39 AM