Dear friends: Using Centos 5. I have two physical drives. During install, I made sure to check hdb as well as hda. Both were listed as partitions (which is correct). But my fstab file does not show hdb. How do I make sure that hdb has been formatted and is part of my file system. If hdb is not formatted, how do I format it, please. Sorry for the question. I am a newbie. d[sher at localhost ~]$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 74560920 5339640 65372680 8% / /dev/hda1 101086 11997 83870 13% /boot tmpfs 237428 0 237428 0% /dev/shm [sher at localhost ~]$ [sher at localhost ~]$ cat /etc/fstab /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 Thank you so much. Benjamin -- Sher's Russian Web http://www.websher.net Benjamin Sher sher07 at mindspring.com
On Tuesday 17 April 2007 02:54, Garrick Staples wrote:> vm pvscanDear Garrick: Please see output. There is something wrong. Benjamin [sher at localhost ~]$ lvm pvscan bash: lvm: command not found [sher at localhost ~]$ su Password: [root at localhost sher]# ./lvm pvscan bash: ./lvm: No such file or directory [root at localhost sher]# -- Sher's Russian Web http://www.websher.net Benjamin Sher sher07 at mindspring.com
Use df or df -P to see where are filesystems identified by LABEL (boot in your case) Use pvs (and also vgs, lvs) to see LVM layout. Wojtek On Mon, 16 Apr 2007, Benjamin Sher wrote:> Date: Mon, 16 Apr 2007 14:13:33 -0400 > From: Benjamin Sher <delphi123 at zebra.net> > Reply-To: CentOS mailing list <centos at centos.org> > To: CentOS mailing list <centos at centos.org> > Subject: [CentOS] Formatting hdb? > > Dear friends: > > Using Centos 5. > > I have two physical drives. During install, I made sure to check hdb as well > as hda. Both were listed as partitions (which is correct). But my fstab file > does not show hdb. How do I make sure that hdb has been formatted and is part > of my file system. If hdb is not formatted, how do I format it, please. Sorry > for the question. I am a newbie. > > d[sher at localhost ~]$ df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 74560920 5339640 65372680 8% / > /dev/hda1 101086 11997 83870 13% /boot > tmpfs 237428 0 237428 0% /dev/shm > [sher at localhost ~]$ > > > [sher at localhost ~]$ cat /etc/fstab > /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 > LABEL=/boot /boot ext3 defaults 1 2 > devpts /dev/pts devpts gid=5,mode=620 0 0 > tmpfs /dev/shm tmpfs defaults 0 0 > proc /proc proc defaults 0 0 > sysfs /sys sysfs defaults 0 0 > /dev/VolGroup00/LogVol01 swap swap defaults 0 0 > > Thank you so much. > > Benjamin > >
On Mon, Apr 16, 2007 at 02:13:33PM -0400, Benjamin Sher alleged:> Dear friends: > > Using Centos 5. > > I have two physical drives. During install, I made sure to check hdb as well > as hda. Both were listed as partitions (which is correct). But my fstab file > does not show hdb. How do I make sure that hdb has been formatted and is part > of my file system. If hdb is not formatted, how do I format it, please. Sorry > for the question. I am a newbie. > > d[sher at localhost ~]$ df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 74560920 5339640 65372680 8% /The VolGroup00-LogVol00 filesystem is likely spread across both drives. Looking at the size should give you a hint. 'lvm pvscan' will show you which physical devices are in each volume group. -- Garrick Staples, GNU/Linux HPCC SysAdmin University of Southern California -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070416/89e39908/attachment-0004.sig>