Solved

Linux for dummies - the df command - EASY POINTS

Posted on 2008-10-14
9
553 Views
Last Modified: 2013-12-16
Is this telling me tha I have one large partition, one partition for boot, and Shared memory?

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      74151120   2773840  67610600   4% /
/dev/sda1               101086     34285     61582  36% /boot
none                   2074516         0   2074516   0% /dev/shm

Also, mount gives me:

 mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

From this, it looks like I have only one SCSI drive - is this correct? Also, where is my CD-ROM AND what is sunrpc?

Sorry - I am new to Linux.

0
Comment
Question by:ainselyb
9 Comments
 
LVL 29

Accepted Solution

by:
Michael W earned 100 total points
ID: 22712616
For one thing, /dev/mapper/VolGroup00-LogVol00 means you are using Linux LVM (Logical Volume Manager).

Try doing:

To display logical volume groups: lvdisplay -v
To display physcial volume groups: pvdisplay -v

---

The 'mount' command will only show what devices are currently mounted. If you want to mount your CD-ROM, you would need to check first to see what your Linux kernel detected the device as.

Type 'dmesg' and see if there if a reference to your CD-ROM (usually detected like either hda, hdb, hdc).
0
 
LVL 29

Expert Comment

by:Michael W
ID: 22712649
The /var/lib/nfs/rpc_pipefs is a bit complex. You need it, so don't mess with it.

Reference:
http://www.linuxquestions.org/questions/linux-general-1/mtab-and-fstab-problems-224687/
0
 
LVL 19

Assisted Solution

by:Gabriel Orozco
Gabriel Orozco earned 100 total points
ID: 22712927
yes, it appears you have a scsi drive.

you have your / (ROOT) partition created using LVM. this is good if you plan to grow.
you have your /boot partition not using LVM. that is okay.

in order to see your cdrom, you need first to insert a cd/dvd into the drive, then your system will mount it, or you will need to mount it by hand (not likely). once you tried to browse your inserted cd, it will be mounted, and mount will show it to you.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 100 total points
ID: 22715909
The /dev/shm entry looks odd to me. shm is a file system based on shared memory (i.e. RAM & swap) - often people mount /tmp on it (all contents of /tmp are thus flushed on system shutdown). Did you mean to have a swap device? - it looks like you don't have one. That can be OK - I don't have one either. Post the output from "free" if you'd like confirmation. Also please post /etc/fstab so we eperts can better advise you.
0
 
LVL 5

Assisted Solution

by:pbhj
pbhj earned 100 total points
ID: 22717243
$ sudo fdisk -l
OR
# fdisk -l

Can give useful physical disk info as can the kinfocentre and gparted / qtparted (or just parted if you like CLI).

Out of interest, what computer is this, what distro?
0
 
LVL 23

Assisted Solution

by:Mysidia
Mysidia earned 100 total points
ID: 22717894
It  is standard for /dev/shm  to be mounted this way,  on Redhat, and yes, there are some system scripts and software that make use of it,  so unounting /dev/shm  can break things.

As for 'sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)'

If you use NFS, you need it.
If you don't use NFS, then turn off all the NFS and RPC services, and  that won't get mounted.   (This is a virtual fs)

SCSI partition 1  on /boot
On  /  you have a LVM  logical volume.
use  'vgs'   to  display volume group list
'pvs'  to display physical volume (disk) list
'lvs'  to display logical volume list



0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now