From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fd9d99729afc2312 X-Google-Attributes: gidfee84,public From: Ed Wensell III aka THE StormRaiser Subject: Re: Disk Space 4.0d Date: 1999/09/29 Message-ID: <37F209ED.1EE9@pstcc.cc.tn.us.net>#1/1 X-Deja-AN: 530692217 Content-Transfer-Encoding: 7bit References: <37f51547.84822970@news.dal.ca> Content-Type: text/plain; charset=us-ascii Organization: Pellissippi State Technical Community College Mime-Version: 1.0 Reply-To: ewensell@pstcc.cc.tn.us.net Newsgroups: comp.unix.osf.osf1 HxMan wrote: > > We are starting to run low on disk space on our 2100 server.... We do > have a RAID pedistal with 2.1 gig drives....... I would like to know > if there is any way to find out what file systems expands what > disks.... This is not an expert answer. Accept any corrections from more experienced people. With that said... As far as file systems go, LSM and AdvFS are both capable of spanning disks and can be enlarged while online/mounted. Both are software solutions available on D/T64 UNIX 4.0B (A??). Both also require additional licensing to get them to do any real work. AdvFS only provides disk spanning and mirroring, whereas LSM provides (somewhat) true RAID and striping capabilities. Both will also take a little of your CPU and memory to do their thing. The additional AdvFS licenses are on the CSLG if you are an educational type. You state you have a "RAID pedestal". Is this RAID pedestal connected to a RAID controller? If so, you should be able to use the controller to adjust the size and types of volumes on the pedestal. Then it is up to the RAID controller to manage the volumes and the drives, not the operating system. All the operating system sees are device names representing the volumes. If you have it, read the documentaion for your hardware. If not, most documentation can be found online. > Also the command df -k > Filesystem 1024-blocks Used Available Capacity Mounted on > /dev/re1c 12192746 9401811 1571660 86% /data > > So to figure out megabytes I divide by 1024????? Pretty much. The numbers displayed by df -k are binary kilobytes (1024 byte blocks). There is a faster way of figuring out the numbers though. > So what does the above translate to...... Well, you can do the math (~ = approx): 12192746 KB/1024 = ~11906 MB/1024 = ~11 GB (total) 9401811 KB/1024 = ~9181 MB/1024 = ~8.9 GB (in use) 1571660 KB/1024 = ~1534 MB/1024 = ~1.4 GB (free) The "faster" way is to just use "marketing" kilobytes: GGG,MMM,KKK 12,192,746 9,401,811 1,571,660 G = Gigabytes (1000 Megs) M = Megabytes (1000 Kilos) K = Kilobytes (1000 Bytes) So 12,192,746 can be figured quickly as approximately 12GB. 1,571,660 is quickly estimated as 1.5GB. If you want to use the default df, which displays numbers in 512 byte blocks, divide the numbers by two and apply to the template. Here's a snippet from my system: Filesystem 512-blocks Used Available Capacity Mounted on /dev/rz1c 8042248 3677192 3560830 51% /u1 8,042,248 divided by 2 is 4,021,128, which means the total size of the disk is around 4GB. There's about 1.8GB in use, and about 1.7GB left. If all else fails, simply leave the numbers alone and refer to them as "blocks". No matter how they are displayed, having an "Available" of 0 and/or a "Capacity" of 110% is always a bad thing. When dealing with filesystems that contain many many many small files (like a Usenet spool or E-mail store), make sure to also keep an eye on your inodes (df -i). > Thanks Hope it helps... Regardless of how VMS... er... verbose it is. -- Until soon... Ed Wensell III Systems and Operations Support, Pellissippi State E-mail hint: A college with a dot net domain?