How to utilize the 2nd hard disk space in x86 solaris 5.10


 
Thread Tools Search this Thread
Operating Systems Solaris How to utilize the 2nd hard disk space in x86 solaris 5.10
# 1  
Old 04-16-2009
Question How to utilize the 2nd hard disk space in x86 solaris 5.10

I have 2 hard disks ,one hard disk(40gb) completely for windows Os,and the other(120gb) for solaris Os.

In the second hard disk.I have utilised around 10gb for the solaris installation and also partitioned with the available 10gb space for the solaris x86 OS.

Now i need to utilise the remaining unused & unpartitioned space on the 120gb hard disk.

Is it possible to add the space to the solaris partition now.Iam able to utilise the unused space for the windows.How to do it for the solaris.Can someone help me?

Regards,
SmilieN.Jayaprakash
# 2  
Old 04-16-2009
use growfs
# 3  
Old 04-16-2009
growfs won't work for at least two reasons: it is unsupported on root fs and it requires a free contiguous slice. There are workarounds but a simpler approach would be to create a new partition with fdisk using the remaining space then create a zfs pool on it.
# 4  
Old 04-17-2009
Question

Can you give me the steps involved to create a partition using fdisk and to do a zfs pool on it.

SmilieThanks,
jayaprakash
# 5  
Old 04-17-2009
What is your current partition table ?
Code:
fdisk -v -W - /dev/rdsk/cXdYp0

(replace cXdYp0 by your real disk device)

Have a look here too:

http://docs.sun.com/app/docs/doc/819...d-19036?a=view
# 6  
Old 04-17-2009
MySQL

Thank you for this jlliagre.I will try to give you the partition table information,when i return home.Also i will try to follow your steps for creating the fdisk partition.

SmilieRegards,
jayaprakash
# 7  
Old 04-17-2009
Here is the available disk & partition table information ,


# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0d0 <drive type unknown>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
1. c0d1 <DEFAULT cyl 1273 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@1,0
Specify disk (enter its number): 1
selecting c0d1
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0d1s0 is currently mounted on /. Please see umount(1M).
Total disk size is 19457 cylinders
Total disk size is 19457 cylinders
Cylinder size is 16065 (512 byte) blocks

Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active Solaris2 1 1275 1275 7
2 EXT LBA 1653 2927 1275 7
3 Ext Win95 2928 4325 1398 7



partition> print
Current partition table (original):
Total disk cylinders available: 1273 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 361 - 1272 6.99GB (912/0/0) 14651280
1 swap wu 3 - 68 517.72MB (66/0/0) 1060290
2 backup wm 0 - 1272 9.75GB (1273/0/0) 20450745
3 unassigned wm 0 0 (0/0/0) 0
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 69 - 360 2.24GB (292/0/0) 4690980
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 alternates wu 1 - 2 15.69MB (2/0/0) 32130


So this is what my solaris disk strucure is,so i i need to utilize the

c0d1 hard disk (120gb).Is it possible to do it?

SmilieRegards,
jayaprakash
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Understanding ZFS Snapshots - why will it utilize space ?

Hi all, I am moving to Solaris11 and is trying to understand how ZFS snapshot works. Chances upon this Oracle Blog and can't wrap my head around it. https://blogs.oracle.com/solaris/understanding-the-space-used-by-zfs-v2 Hope gurus here can shed some light . ======= ... (4 Replies)
Discussion started by: javanoob
4 Replies

2. Solaris

Solaris x86 extend disk

hi all! i extend disk on SPARC solaris without problems, but with x86 Solaris 10 i have some troubles . Help pls iostat show me updated disk size, but in format i can't choose Auto configure options to use modified slice # iostat -E c0d1 cmdk1 Soft Errors: 0 Hard Errors: 0 Transport... (4 Replies)
Discussion started by: ijj
4 Replies

3. Solaris

Create a boot disk mirror on Solaris 10 x86

I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies

4. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

5. SCO

Add memory and EDI hard disk space

Dear all I would like to know if you have face to the problems as add 1. 256 MB DDR Ram memory 2. IDE 40 GB slaved hard-disk my current machine is GA-SIML Rev 1.0, 1.6 GHz CPU, 1GB HDD, 256 MB DDR-Ram memory, as I add another 256 DDR-Ram, and 40 GB Slaved EDI Hard disk it, the systems... (1 Reply)
Discussion started by: TinhNhi
1 Replies

6. Solaris

Error after installing 2nd hard disk on Solaris 10?

I installed Solaris 10 on this Dell 5150 with only 1 SATA hard drive setup, all went well, and I could view the disk in the disk management window. However, I setup a 2nd hard drive, identical to 1st drive. Solaris wont recognize it and gives an error when trying to view disks in disk management... (5 Replies)
Discussion started by: Joncamp
5 Replies

7. Solaris

Disk Mirroring for Solaris 10 x86

I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Discussion started by: chuck43
2 Replies

8. Solaris

mounting 1TB hard disk with Solaris10 X86

I have a 1TB hard disk that I had partitioned on a Sun clone and had 7 partitions of 137GB a piece. (Using a USB to SATA adaptor) I then had loaded a new hard disk on my laptop (T60...Lenova) with Solaris 10 X86. I tried to mount the hard disk but it kept telling me the mount point was busy and I... (2 Replies)
Discussion started by: mndavies
2 Replies

9. UNIX for Dummies Questions & Answers

Hard Disk drive space gone missing...

Sorry if this is totally the wrong place to post this but I have a question or something rather thats bugging me. I got a new Dell Inspiron laptop the other day and I was expecting it to have 80G on it, well atleast 70 or so after installation of OS and such but after looking carefully yesterday, I... (8 Replies)
Discussion started by: Ecclesiastes
8 Replies

10. Solaris

Disk devices in solaris 10 x86

I'm trying to mirror 2 eide disks on a solaris 10 x86 system. Im trying to use the prtvtoc | fmthard command to mirror the vtoc. How do they represent the entire disk like in solaris 9 (c0t0d0s2 = entire device) 0. c0d0 <DEFAULT cyl 26497 alt 2 hd 16 sec 63> ... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
Login or Register to Ask a Question