Re: mount hda3 fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thufir wrote:
How can I mount hda3 please?

You can't, directly.



[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1912    15358108+   7  HPFS/NTFS
/dev/hda2            1913        1925      104422+  83  Linux
/dev/hda3            1926        9729    62685630   8e  Linux LVM

Disk /dev/hdb: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          13      104391   83  Linux
/dev/hdb2              14        3738    29921062+  8e  Linux LVM
[root@localhost ~]#
[root@localhost ~]# mount
/dev/mapper/VolGroup01-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/hdb1 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)
/dev/hda2 on /mnt/hda2 type ext3 (rw,noexec,nosuid,nodev)
[root@localhost ~]#
[root@localhost ~]# ll /mnt/
total 6
drwxr-xr-x  4 root root 1024 Jun 24 19:31 hda2
drwxr-xr-x  2 root root 4096 Jun 28 00:58 hda3
[root@localhost ~]#
[root@localhost ~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup01/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot1            /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup01/LogVol01 swap                    swap    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/hdd /media/cdrecorder auto pamconsole,ro,exec,noauto,managed 0 0 /dev/hdc /media/cdrom auto pamconsole,ro,exec,noauto,managed 0 0
/dev/hda2               /mnt/hda2               ext3    users,rw        0
/dev/hda3               /mnt/hda3               ext3    users,rw        0

[root@localhost ~]#
[root@localhost ~]# mount -a
mount: /dev/hda3 already mounted or /mnt/hda3 busy
[root@localhost ~]#
[root@localhost ~]# cat /etc/fedora-release
Fedora Core release 3 (Heidelberg)
[root@localhost ~]#
[root@localhost ~]# date
Thu Jun 28 01:05:20 PDT 2007
[root@localhost ~]#


thanks,


Thufir


This is very similar to the system you were asking about yesterday, isn't it? Where you wanted to mount "windows"?

The same applies to /dev/hda3 here as applied to /dev/sdb3 on that system. This partition is an LVM and is under the control of LVM, you don't mount it directly. In fact you never actually mount a physical partition, you mount filesystems. Until the advent of software RAID and LVM a filesystem normally equated to a physical partition but that is not necessarily true any longer. Here I presume that /dev/hda3 does not have a filesystem on it so it can't be mounted.

As Andy points out in his reply you need use the LVM tools to determine what logical volumes you have on the system as a whole. With LVM you create filesystems on logical volumes and mount those. Logical volumes are allocated from a volume group which is composed of a number of physical volumes. A physical volume is a partition handed over to LVM using pvcreate.

The physical partition /dev/hda3 could be a single logical volume, or it could be a part of a larger logical volume, or it could be split into multiple logical volumes. Only LVM knows.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
            University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@xxxxxxxxxxxx
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux