Visit Our UNIX and Linux User Community


Hard disk resizing Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Hard disk resizing Solaris
# 1  
Old 06-06-2011
Hard disk resizing Solaris

Dear All,

I have a task of resizing the Solaris Partitions.

This server contains SVM. Kindly let me know the steps in resizing the partitions and precautions.

Regards
Rj
# 2  
Old 06-06-2011
you didn't say if its enlargement or reducing..

basically, iirc, all you need is backup and restore..
I suggest you make full backup first. the image of whole drive.
then you partition and format new disk, and restore slices on it.
added bonus is it gets defragmented.


you can skip the swap.
edit: er, I'm not sure how SVM would change this procedure..
# 3  
Old 06-07-2011
Solaris Volume Manager volumes and UFS filesystems can be expanded in size but cannot be reduced in size without rebuilding. You can expand RAID-0 (stripe and concatenation) volumes, RAID-1 (mirror) volumes, and RAID-5 volumes and soft partitions.

If necessary, you can concatenate a volume that contains an existing file system while the file system is in use and use growfs to expand an existing UFS file system to fill the larger space.

You really need read the Solaris Volume Manager Administration Guide, understand your existing disk and volume layout, design your new layout, and backup your system (and test your backup if critical data!) before attempting to change anything.
# 4  
Old 06-07-2011
thanks murphy and orange...
for your reply.

Yes it is increasing in size and not reducing.

All are raid 1 here. So I will take the back up of the mount points available here and In case if the available harddisk is not enough and I need to add a new disk for resizing ...what are the steps ...for doing

thanks in advance,

Previous Thread | Next Thread
Test Your Knowledge in Computers #987
Difficulty: Medium
The FreeBSD TCP/IP stack is based on the 4.2BSD implementation of TCP/IP.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to use a old window hard disk on Solaris ??

Hi, How can i use a old window 200Gb IDE harddisk on Solaris8. At the Solaris 8 install utility, it could only detect 50Mb for space ! Is the format wrong ? Do i need to re-do the partition ? I am using a Sunblade150 with solaris8 Thank u for the help... (1 Reply)
Discussion started by: Snubber
1 Replies

2. Solaris

solaris hard disk not detected

Dear all, I have a Sol 10 server. When I put df -h , it is showing the mount points of all file systems, but when I format the server it is showing the below output bash-3.00# format Searching for disks...done No disks found! Pl let me know what is the problem for this. ... (5 Replies)
Discussion started by: jegaraman
5 Replies

3. 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

4. Solaris

Solaris 8 - Removable hard disk

Hi Gurus, I have difficulty in configuring removable hard disk in Solaris 8. I have connected hard disk to machine but I do not know how to configure it. Kindly tell me, how should I configure it .. so that I can create a mount point on this and write files to them. Regards Srini (7 Replies)
Discussion started by: sri243
7 Replies

5. Solaris

Solaris 10 - How to find the total size of my hard disk?

Friends, I have an 80 GB HDD, but I wish to know if there is a direct command in Solaris 10 to find out the size of my hard disk (similar to fdisk -l in Linux). Thank you saagar (3 Replies)
Discussion started by: saagar
3 Replies

6. Solaris

Write protected hard disk on Solaris 9

Hi Peeps, Trying to run analyze and verify on a disk, it won't as it's telling me the disk is write protected. Anyone got any ideas on how to remove the write protection???? Didn't even know you could write protect hard disks. Thanks for any advice Marty (2 Replies)
Discussion started by: callmebob
2 Replies

7. Shell Programming and Scripting

Detecting hard or soft disk errors in Solaris

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

8. Solaris

Solaris 10 - breaking of mirror and change new hard disk

Hi, am a newbie at solaris. Need advice and help on this. 1) How do I break the mirror between 2 hard disks. (wish to keep 1 good hard disk as backup) 2) After remove 1 hard disk and put in new hard disk, how do I initialise or fomat the new hard disk? 3) How do I put back the backup... (3 Replies)
Discussion started by: chongkls77
3 Replies

9. UNIX for Dummies Questions & Answers

Fomatting Solaris Hard Disk.

Hi Friends ! How long does it take to format a hard disk under Solaris ? Once the format starts, what data will be cleared or deleted first ? i.e whether the OS is cleared or all the data other than OS is cleared first ? Then, if the format starts and the power goes off, can i retrieve data?... (1 Reply)
Discussion started by: mrgubbala
1 Replies

10. UNIX for Dummies Questions & Answers

Installing Solaris in Bran new Hard disk..

Hello there !!! I am going to install solaris 8 on brand new hard disk, which i just attatched with computer. Hard disk is already formated or do i have to use some kind of fdisk prior to install solaris ? OR solaris automatically format this new hard disk ? How does this work with... (2 Replies)
Discussion started by: abidmalik
2 Replies

Featured Tech Videos