HDD cloned to a bigger one

Hello,

I just cloned a 80 GB HDD(running Solaris 10) to an 320 GB HDD using g4u disk-to-disk method.

Now Solaris is seeing may 320 GB HDD like 80 GB. Exactly like the old one.

Could you tell me, please, how do I convince Solaris that my HDD is bigger? I would like to keep all slices as they are but have the rest of
HDD in my /export/home(c1d0s7).

Thank you!

What does fdisk say about your new hard disk? Can it see all 320Mb?

fdisk know the real capacity but initialy shown only one partition that was 25 % from the total size.
I was able to create another one that is 75 % but not able to use it...

    Total disk size is 38913 cylinders
         Cylinder size is 16065 \(512 byte\) blocks

                                           Cylinders
  Partition          Status             Type            Start     End     Length    %
  =========   ======    ============  =====   ===   ======   ===
      1       Active      Solaris2            1    9728      9728       25
      2                              Solaris2       9729  38912    29184     75

Now you need to create a file system on the second partition and then mount it.

Is this a Sparc system or a i386 system? The i386s use a standard PC's MBR.

Hello,

The system is i386. Could you please be more detailed about how do I create a filesystem on the second partition?

The only place I can se it is in fdisk. I don't know realy how to access it. It is not visible with other slices listen in "format menu".

Thank you!

Format shown only the first partition(80 of 320 GB). Don't know how to access the other one to create the filesystem... :frowning:

Volume: ROOT_HDD
Current partition table (original):
Total disk cylinders available: 9726 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 69 - 1343 9.77GB (1275/0/0) 20482875
1 swap wu 3 - 68 517.72MB (66/0/0) 1060290
2 backup wm 0 - 9725 74.50GB (9726/0/0) 156248190
3 unassigned wm 1344 - 3302 15.01GB (1959/0/0) 31471335
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 home wm 3303 - 9725 49.20GB (6423/0/0) 103185495
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 alternates wu 1 - 2 15.69MB (2/0/0) 32130

fdisk -g /dev/rdsk/c1d0p0

  • Label geometry for device /dev/rdsk/c1d0p0
  • PCYL NCYL ACYL BCYL NHEAD NSECT SECSIZ
    9726 9726 2 0 255 63 512

fdisk -G /dev/rdsk/c1d0p0

  • Physical geometry for device /dev/rdsk/c1d0p0
  • PCYL NCYL ACYL BCYL NHEAD NSECT SECSIZ
    38913 38913 0 0 255 63 512