Visit Our UNIX and Linux User Community


Convert from raw disk to solaris volume manager disk


 
Thread Tools Search this Thread
Operating Systems Solaris Convert from raw disk to solaris volume manager disk
# 1  
Old 04-18-2012
Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
Code:
  root@moneta # df -h
  Filesystem             size   used  avail capacity  Mounted on
  /dev/md/dsk/d0         9.8G   513M   9.3G     6%    /
  /devices                 0K     0K     0K     0%    /devices
  ctfs                     0K     0K     0K     0%    /system/contract
  proc                     0K     0K     0K     0%    /proc
  mnttab                   0K     0K     0K     0%    /etc/mnttab
  swap                    21G   1.7M    21G     1%    /etc/svc/volatile
  objfs                    0K     0K     0K     0%    /system/object
  sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
  /dev/md/dsk/d6         9.8G   4.0G   5.7G    42%    /usr
  fd                       0K     0K     0K     0%    /dev/fd
  /dev/md/dsk/d1         9.8G   3.5G   6.2G    36%    /var
  swap                    21G   208K    21G     1%    /tmp
  swap                    21G    96K    21G     1%    /var/run
  /dev/dsk/c4t60A98000646F6172636F677178564852d0s0
                         197G   100G    95G    52%    /ora_moneta_oraarch
  /dev/md/dsk/d30        550G    52G   493G    10%    /local_backup
  /dev/dsk/c4t60A98000646F6172636F677231526977d0s0
                          43G   753M    42G     2%    /moneta_polled01
  /dev/dsk/c4t60A98000646F6172636F677234564655d0s0
                          64G    13G    51G    21%    /moneta_parsed01
  /dev/dsk/c4t60A98000646F6172636F67724B4C2D6Dd0s6
                         689G   548G   134G    81%    /moneta_collected02
  /dev/dsk/c4t60A98000646F6172636F677231507347d0s0
                          64G    53G    10G    84%    /moneta_temp01
  /dev/md/dsk/d5         9.8G    69M   9.7G     1%    /opt
  /dev/dsk/c4t60A98000646F6172636F677253506852d0s0
                         584G   513G    65G    89%    /ora_data01
  /dev/md/dsk/d4         192G   151G    39G    80%    /internaldisk1
  /dev/dsk/c4t60A98000646F6172636F67717542506Ad0s0
                         5.9G   2.4G   3.5G    41%    /moneta_home
  /dev/dsk/c4t60A98000646F6172636F67724D6B7548d0s6
                         591G   462G   122G    80%    /moneta_collected03
  /dev/dsk/c4t60A98000646F6172636F677255764435d0s0
  583G   505G    72G    88%    /ora_data04
  /dev/dsk/c4t60A98000646F6172636F677176744B35d0s0
  20G   9.8G   9.7G    51%    /oracle
  /dev/dsk/c4t60A98000646F6172636F6772557A4931d0s0
  584G   522G    56G    91%    /ora_data03
  /dev/dsk/c4t60A98000646F6172636F6772554A706Dd0s0
  584G   521G    57G    91%    /ora_data02

As you can some of these file systems have exceed the 90% mark, so we want to extend them. From my research I need to convert the /dev/dsk/c4t60A98000646F6172636F6772554A706Dd0s0into “/dev/dsk/md/d60” as an example, which is “solaris volume manager” nomenclature. Then I can use growfs -m to resize the partition.
But I need first to convert those disks into solaris volume manager disks. Please can you give me the steps to do that?
FR

Previous Thread | Next Thread
Test Your Knowledge in Computers #115
Difficulty: Easy
Linux is a continuation of the Unix design philosophy.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies

2. AIX

Regarding AIX volume manager & replacing a disk

First a little background: I'm working with an AIX 6.1 TL05 running two mirrored SAS disks (rootvg) and four SSDs (appvg) All four SSDs belong to appvg and are setup to mirror as follows: hdisk4 --> hdisk6 (containing application fs) hdisk5 --> hdisk7 (containing database fs) A few days... (1 Reply)
Discussion started by: Michael Mullig
1 Replies

3. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

4. UNIX for Dummies Questions & Answers

VERITAS Volume Manager - mirror a disk/volume

I have a machine (5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210) that we are upgrading the storage and my task is to mirror what is already on the machine to the new disk. I have the disk, it is labeled and ready but I am not sure of the next steps to mirror the existing diskgroup and... (1 Reply)
Discussion started by: rookieuxixsa
1 Replies

5. Solaris

Veritas Volume Manager: disk "failed was"

Hello there, I'm going to describe a situation I've got here... feel free to ask away questions and I'll provide what I can if it'll help me get this answered! When I do a vxdisk list, I see a disk that VxVM calls "disk4" that is listed as "failed was: c1t9d0s2". When I do a format, I can go... (3 Replies)
Discussion started by: kitykity
3 Replies

6. UNIX for Advanced & Expert Users

Veritas Volume Manager question (Disk layout with 4 plexes)

I am trying to build a veritas volume similar to an existing volume on another server. The output on source server is: usbtor12# vxprint -hrtg appdg v anvil_sqlVOL - ENABLED ACTIVE 629145600 SELECT - fsgen pl anvil_sqlVOL-01 anvil_sqlVOL ENABLED ACTIVE 629145600... (3 Replies)
Discussion started by: momin313
3 Replies

7. Solaris

How to create new partitions in solaris,from the raw disk?

Hi all, I would like to know how to make new partitions.... I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices... I am running only solaris on my box. My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Discussion started by: wrapster
19 Replies

8. Solaris

Reading raw disk on Solaris

Hello I wonder if someone could help me in reading a raw (non-Solaris) disk on a Solaris system... I have an IDE HDD in my Sun Blade and would like to read it (using C). It appears on the system and with the format command shows up as c0t1d0. I use the dd command to read the disk as such:... (19 Replies)
Discussion started by: son_t
19 Replies

9. Filesystems, Disks and Memory

Volume Manager; importing a disk

System: Alpha with Tru64 5.1b Disk under LSM (Logical Storage Manager; essentially v2 of Veritas VxVM) control was generating disk errors. The disk was timing out a lot and generating a few disk errors. DBAs couldn't keep the oracle instance up on that node of the cluster. I contacted HP and got... (1 Reply)
Discussion started by: BOFH
1 Replies

10. Solaris

Disk Mirror in Solaris 9 via Solaris Volume Manager

Hello, I am trying to do mirror in solaris 9. I have total 0-7 disks 4 5 6 7 0 1 2 3 Drive 0 and Drive 4 = Boot Drives Need to Mirror following drives. Drive 1 and Drive 5 = Need to mirror Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5. Then i... (3 Replies)
Discussion started by: deal732
3 Replies

Featured Tech Videos