Visit Our UNIX and Linux User Community


Disk space missing under SVM


 
Thread Tools Search this Thread
Operating Systems Solaris Disk space missing under SVM
# 1  
Old 07-27-2009
Disk space missing under SVM

Hi Gurus, I've got an issue here:

(1) Hardware: Sun NetraT1, (2) OS: Solaris 10, (3) SVM

metastat shows /var having 12 GB. df shows /var having 4 GB. Real space for /var is about 4 GB since I can't move a big file to it. How is 8 GB space missing? Does /var/run swap need to account? Can I temporarily disable /var/run and how?

Thanks!

-----------------------------------------------------------

% df -k | grep var
/dev/md/dsk/d6 3909578 3124797 745686 81% /var
swap 6637560 56 6637504 1% /var/run

-----------------------------------------------------------

% metastat | more
d6: Mirror
Submirror 0: d7
State: Okay
Submirror 1: d8
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 25166079 blocks (12 GB)
d7: Submirror of d6
State: Okay
Size: 25166079 blocks (12 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s6 0 No Okay Yes

d8: Submirror of d6
State: Okay
Size: 25166079 blocks (12 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s6 0 No Okay Yes

---------- Post updated at 09:45 AM ---------- Previous update was at 09:17 AM ----------

I've checked out another system with similar configuration. Both metastat and df show the same amount of space for /var. This means /var/run should not use space of /var.
# 2  
Old 07-27-2009
# 3  
Old 07-27-2009
Thanks for the advise, but I don't think this is what I should do now. I want to troubleshoot the issue - find out where is the missing space, and how it happens.
# 4  
Old 07-28-2009
detach the mirror for the slice and attach it back or do a reboot
# 5  
Old 07-28-2009
Hi

I saw ur configuration. Seems to be a 0+1 RAID. The submirror are reflecting 12GB each and the mirror d6 is also correct with 12 GB.

The only issue i think is how do u create the file system on this mirror disk. There are some options which while creating the filesystem may show abnormal diskspace.

I have seen this type of issues whicle creating vxfs file systems..

Just check your process of creating the filesystem on this mirror..

Regards
Ramkumar
# 6  
Old 08-07-2009
growfs may be the solution. I tried but failed. Here is what I got:

# growfs -M /var /dev/md/rdsk/d6
/dev/md/rdsk/d6: Unable to find Media type. Proceeding with system determined parameters.
failed to disable logging.

I think the "unable to find Media type" is not a problem. I saw someone running growfs successfully with this error. The problam is "failed to disable logging". The OS is still writing to /var, that makes growfs unable to freeze /var in order to expand space. I stopped syslogd but still got "failed to disable logging".

Any idea? Thank you!



Last edited by aixlover; 08-07-2009 at 01:33 PM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #755
Difficulty: Medium
Flash memory is a type of EEPROM.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Replacing a failed disk using SVM

Hi Please can you help me on replacing or removing a faulty disk drive on a SUN NETRA X4250server with 4 internal drives only. the format comand show me the following: format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <drive type unknown> ... (9 Replies)
Discussion started by: fretagi
9 Replies

2. Solaris

Replacing a Disk in a ODS/SVM Mirror

Hi All BAsed on the below I would like to verifu two things (1) The udnerlying mirroris for '/mnt' na dit onlcy contaisne 1 sub-mirror, with one sliceon is one disk and hence, data loss on the mount point (the mount point, '/mnt' is backed up) (2) the Procedure for renewal # df -kh /mnt... (2 Replies)
Discussion started by: stevie_velvet
2 Replies

3. Solaris

Reclaiming space SVM

Hi I have a solaris 10 server, that we no longer will be used, and the system has it storage on the NetApp. Most of the file systems that I have already umounthave the following entry on /etc/vfstab: df -h /ora* Filesystem size used avail capacity Mounted on /dev/md/dsk/d400... (2 Replies)
Discussion started by: fretagi
2 Replies

4. Solaris

Root disk mirroring in SVM

I tried doing rootdisk mirroring in my local host , i added a new Ide disk in my system and copied the prtvtoc from root disk to the newly added disk, and then when i tried to add database replicas on both the disks, it was added for boot disk but for the newly added disk i gave the error, which... (6 Replies)
Discussion started by: Laxxi
6 Replies

5. Solaris

Root Disk mirroring in SVM

Dear All, Please help me to configure root mirroring using SVM in Solaris 9. Thanks and Regards, Lakkireddy BR (3 Replies)
Discussion started by: lbreddy
3 Replies

6. Solaris

Check free space in SVM

how can we check the free space in SVM for a LUN .. I 've a 300G LUN and created several soft partitions on it but now i want to know how much i can grow .. i.e how much space is left on this 300G LUN (4 Replies)
Discussion started by: fugitive
4 Replies

7. Solaris

Removing Disk from SVM

Hi All, I have to remove the disk from SVM. Kindly guide me or suggest me some link where in I can steps to remove SVM from Solaris 10 .Also I have one metaset which require deletion. Thanks in anticipation! (10 Replies)
Discussion started by: kumarmani
10 Replies

8. Solaris

Disk Replacement SVM

Hello, Can someone advise the proper procedure for replacing a mirrored disk in SVM. I have checked the docs and various websites but the procedure seems to vary. This is what I would do... 1. Remove the db replicas from the bad disk. 2. Detach it from the mirror 3. Clear it with... (4 Replies)
Discussion started by: Actuator
4 Replies

9. Solaris

Disk replacement with svm

I dont even know what raid level this is, but its raid 5 mirrored from the looks of it. I have a failed disk (t12) within this mirror. What is the best way to replace this disk? 2 things concern me, isn't there a command to prepare the disk for a hot swap? and what should i do with the... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

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

Featured Tech Videos