It is currently Fri, 30 Sep 2022 10:49:34 GMT



 
Author Message
 Mount size wrong with Partition size.
I am new at Solaris, and I think I am doing something completley wrong.
Anyway, I am trying to install Oracle 8, and I need to mount the /U01
/U02 /U03 and /U04 volumes.  There currently is an empty extra drive
/c0t8d0 that is 9GB.  I went under the format utility and set unassigned
partitions at 2GB each.  when I go to mount them, they only are 124MB
each.  I tried changing the partition size to even 50MB, but still when
I mounted it only came to 124MB.

I have no clue whats going on. I mount them as a ufs file system.  I
just started working with Solaris 2 months ago and I am fairly new to
the Unix environment.  I am either mounting the partitions wrong, or
missing a step somewhere.  The command line I use to mount is:
mount -F ufs /dev/dsk/c0t8d0s4 /u01

Thanks in advance.
-kris
k...@netsis.com



 Tue, 20 Nov 2001 03:00:00 GMT   
 Mount size wrong with Partition size.

After resizing  partitions with "format", have you labeled the disk?



 Wed, 21 Nov 2001 03:00:00 GMT   
 Mount size wrong with Partition size.
Yes.  I think I am mounting the partitions wrong.
-kris


 Fri, 23 Nov 2001 03:00:00 GMT   
 Mount size wrong with Partition size.
[Kristopher Keller]

Hmm.  You didn't enter the size wrongly into format?  Ie., you gave
the size as "2048m", not "2048b"?

Did you give newfs any special parameters?

Perhaps you could include the output of prtvtoc /dev/dsk/c0t8d0s2?

Kjetil T.



 Fri, 23 Nov 2001 03:00:00 GMT   
 Mount size wrong with Partition size.
I dont think it has anything to do with mounting.

In the "format" menu, you select "partition". Then you create your new
partition table by
resizing your partitions. When you have finished, at either the "partition"
or "format"
prompt, you type "label". When asked to continue, type "y".
If you do not label the disk, you will still have the old partition table
and therefore your
partition sizes will not change. I suspect that 's what happened here.
Please let me know if
this is correct.

Oscar



 Sat, 24 Nov 2001 03:00:00 GMT   
 Mount size wrong with Partition size.
Here are the steps I go through to mount the partition.  Hope this helps.  You
will notice when I mount it only comes to 124MB.  I have also tried the option
with largefiles and that didnt work.  I know I am doing something wrong, I have
never really mounted anything before.

----------------------------------------------------------------
# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@1f,4000/scsi@3/sd@1,0
       2. c0t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@1f,4000/scsi@3/sd@2,0
       3. c0t3d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@1f,4000/scsi@3/sd@3,0
       4. c2t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3/sd@0,0
       5. c2t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3/sd@1,0
       6. c2t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3/sd@2,0
       7. c2t3d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3/sd@3,0
       8. c3t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3,1/sd@0,0
       9. c3t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3,1/sd@1,0
      10. c3t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3,1/sd@2,0
      11. c3t3d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@3,1/sd@3,0
      12. c4t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4/sd@0,0
      13. c4t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4/sd@1,0
      14. c4t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4/sd@2,0
      15. c4t3d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4/sd@3,0
      16. c5t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4,1/sd@0,0
      17. c5t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4,1/sd@1,0
      18. c5t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4,1/sd@2,0
      19. c5t3d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@6,4000/scsi@4,1/sd@3,0
Specify disk (enter its number): 2
selecting c0t2d0
[disk formatted]

FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> partition

PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> 0
Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0 - 1168        2.00GB    (1169/0/0)  4197879

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]:
Enter partition size[4197879b, 1169c, 2049.75mb, 2.00gb]: 2.00gb
partition> 1
Part      Tag    Flag     Cylinders        Size            Blocks
  1 unassigned    wm    1169 - 2337        2.00GB    (1169/0/0)  4197879

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[1169]: 1169
Enter partition size[4197879b, 1169c, 2049.75mb, 2.00gb]: 2.00gb
partition> 3
Part      Tag    Flag     Cylinders        Size            Blocks
  3 unassigned    wm    2338 - 3506        2.00GB    (1169/0/0)  4197879

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[2338]: 2338
Enter partition size[4197879b, 1169c, 2049.75mb, 2.00gb]: 2.00gb
partition> 4
Part      Tag    Flag     Cylinders        Size            Blocks
  4 unassigned    wm    3507 - 4675        2.00GB    (1169/0/0)  4197879

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[3507]: 3507
Enter partition size[4197879b, 1169c, 2049.75mb, 2.00gb]: 2.00gb
partition> print
Current partition table (unnamed):
Total disk cylinders available: 4924 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0 - 1168        2.00GB    (1169/0/0)  4197879
  1 unassigned    wm    1169 - 2337        2.00GB    (1169/0/0)  4197879
  2     backup    wu       0 - 4923        8.43GB    (4924/0/0) 17682084
  3 unassigned    wm    2338 - 3506        2.00GB    (1169/0/0)  4197879
  4 unassigned    wm    3507 - 4675        2.00GB    (1169/0/0)  4197879
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0

partition> label
Ready to label disk, continue? y

partition> q

FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> q
#
# cd /
# mkdir u01
# mount -F ufs /dev/dsk/c0t2d0s0 /u01
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/proc                      0       0       0     0%    /proc
/dev/dsk/c0t0d0s0     192833   53958  119592    32%    /
/dev/dsk/c0t0d0s6    3174980  563347 2548134    19%    /usr
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c0t0d0s4    1490275   25966 1404698     2%    /var
/dev/dsk/c0t1d0s7    8705501  438992 8179454     6%    /export/home
/dev/dsk/c0t0d0s5    2055705  383012 1611022    20%    /opt
/dev/dsk/c0t0d0s3     963869  333041  572996    37%    /usr/openwin
swap                 2404864     304 2404560     1%    /tmp
/dev/dsk/c0t2d0s0     124330       9  111888     1%    /u01
#

------------------------------------------------------
EOF



 Sat, 24 Nov 2001 03:00:00 GMT   
 Mount size wrong with Partition size.
In article <375D5609.A7E28...@netsis.com>,
Kristopher Keller  <k...@netsis.com> wrote:
[... most of format session omitted ...]

Well, that's an easy one. At no point have you built a filing system in the
partition you have just made: you are just seeing relics of what was there
before.

Do

  umount /u01
  newfs /dev/rdsk/c0t2d0s0        # and respond to the prompts
  mount /dev/dsk/c0t2d0s0 /u01
  df -k /u01

and you should see a great improvement. Read the man page for newfs(1m) to
see what options you can give it.

Chris Thompson
Email: cet1 [at] cam.ac.uk



 Sat, 24 Nov 2001 03:00:00 GMT   
 
   [ 7 post ] 

Similar Threads

1. Partition size wrong

2. partition size estimates wrong with debian

3. PARTITIONS ARE THE WRONG SIZE

4. Help, unable to mount Sparq on Linux due to wrong block size

5. 2.4.18 iomega 250 zip won't mount - wrong size

6. Maximum partition size/SCSI drive size

7. Partition size - ext2 filesystem size.

8. Sizes of Software and How to Size Partitions?


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software