Visit Our UNIX and Linux User Community


HDD cloned to a bigger one


 
Thread Tools Search this Thread
Operating Systems Solaris HDD cloned to a bigger one
# 1  
Old 10-22-2007
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!

Last edited by mirciulicai; 10-22-2007 at 09:02 AM..
# 2  
Old 10-22-2007
What does fdisk say about your new hard disk? Can it see all 320Mb?
# 3  
Old 10-22-2007
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
# 4  
Old 10-22-2007
Now you need to create a file system on the second partition and then mount it.
# 5  
Old 10-22-2007
Is this a Sparc system or a i386 system? The i386s use a standard PC's MBR.
# 6  
Old 10-23-2007
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... Smilie

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

Last edited by mirciulicai; 10-23-2007 at 06:28 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #144
Difficulty: Easy
IEEE designed POSIX around the common structure of the major competing variants of the Unix system, publishing the first POSIX standard in 1988.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Cloned Sun OS 10 HD using replicator machine

Dear all, I have Sun Oracle 10 SPARC T4-1 machine with 4 units SAS2 300GB configure with 2 set Raid1. Is it possible to take out all 4 hd and cloned the 4 HD using disk clone/replicator machine with same HD size and model? After the cloned completed put back the new cloned HD at original... (4 Replies)
Discussion started by: ayyahma
4 Replies

2. Red Hat

What are Linux configuration changes required after a cloned VM Server is started?

Dear Expert Users, VMware Admin Tool is used to create a "clone" of an existing VM RHEL Server. Now, I have a Project where a cloned VM Server image is started for run . Please share what are all configuration changes required to ensure this runs fine ? I will be grateful for quick and... (2 Replies)
Discussion started by: schandrakar1
2 Replies

3. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

4. AIX

Restore mksysb image on cloned LPAR

Hi Folks, How to restore mksysb image on LPAR which is already having cloned AIX OS installed on hdisk0 (nothing configured, only full partition image is sitting on hdisk0) Let me know. Thank a lot. (1 Reply)
Discussion started by: snchaudhari2
1 Replies

5. Solaris

Problems cloning Solaris 10 x86 Installation to bigger HDD

Dear All, I have been trying to move my existing Solaris Installation (x86, 10/08) to a bigger HDD. So I created a 22 cylinder boot partition and used the rest of the space for a Solaris2 partition. Then I created slices same size like on my current disk. I copied all files with cpio and... (3 Replies)
Discussion started by: BigT79
3 Replies

6. Shell Programming and Scripting

Finding value bigger than zero in all columns

Hi everybody, I am a complete novice and please forgive if its answered gazillion times I have a file which looks like this 1 0 2 0 0 0 0 0 0 3 0 1 18 2 6 0 1 7 0 2 4 0 0 0 1 17 16 1 1 0 0 I have to add... (4 Replies)
Discussion started by: amits22
4 Replies

7. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

8. Solaris

Cloned drive won't boot ?

Solaris system version 6 I cloned the drive using the DD command. Using the format command and examining the partitions, all looks the same as the original drive. Problem: When I attach the cloned drive as the master, and only drive in system, it will not boot. Error messages: ... (9 Replies)
Discussion started by: HikerLT
9 Replies

9. AIX

Cloned Rootvg

New Question: The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running. The question is: how do you tell AIX (5.2... (5 Replies)
Discussion started by: kvanelshocht
5 Replies

10. Shell Programming and Scripting

finding files bigger than 2G

find /base/directory -size +2048M > /tmp/tempfile 1] is there an option to specify the size in Gb 2] the output lists files with size such as: 1152157 (doing ls -l so I guess it is in bytes) So I am missing something here because this file has a size below 2 Gb. Any hints?? thx. (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

Featured Tech Videos