How can I mount hda3 please?
[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
On 6/28/07, thufir hawat.thufir@gmail.com wrote:
How can I mount hda3 please?
You can't. Now read carefully what is below and figure this one out yourself. That is your assignment for today.
[root@localhost ~]# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
<...>
/dev/hda2 1913 1925 104422+ 83 Linux /dev/hda3 1926 9729 62685630 8e Linux LVM
Disk /dev/hdb: 30.7 GB, 30750031872 bytes
<...>
/dev/hdb1 * 1 13 104391 83 Linux /dev/hdb2 14 3738 29921062+ 8e Linux LVM
[root@localhost ~]# mount /dev/mapper/VolGroup01-LogVol00 on / type ext3 (rw)
<...>
[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 /dev/VolGroup01/LogVol01 swap swap defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0
ne...
Hi there,
Hehe,
You can't. Now read carefully what is below and figure this one out yourself. That is your assignment for today.
One word, lol! We have a teacher in the house :).
Greetings, Jim.
On 6/28/07, thufir hawat.thufir@gmail.com wrote:
How can I mount hda3 please?
You can't. Now read carefully what is below and figure this one out yourself. That is your assignment for today.
[root@localhost ~]# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
<...>
/dev/hda2 1913 1925 104422+ 83 Linux /dev/hda3 1926 9729 62685630 8e Linux LVM
Disk /dev/hdb: 30.7 GB, 30750031872 bytes
<...>
/dev/hdb1 * 1 13 104391 83 Linux /dev/hdb2 14 3738 29921062+ 8e Linux LVM
[root@localhost ~]# mount /dev/mapper/VolGroup01-LogVol00 on / type ext3 (rw)
<...>
[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 /dev/VolGroup01/LogVol01 swap swap defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0
ne...
Registered Linux User # 125653 (http://counter.li.org) Certified: 75% bastard, 42% of which is tard. http://www.thespark.com/bastardtest Now accepting personal mail for GMail invites.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
ne... wrote:
On 6/28/07, thufir hawat.thufir@gmail.com wrote:
How can I mount hda3 please?
You can't. Now read carefully what is below and figure this one out yourself. That is your assignment for today.
/dev/hda3 1926 9729 62685630 8e Linux LVM
That's not very helpful, it isn't obvious nor is the diagnosis certain.
The problem is that /dev/hda3 is probably not an ext3 filesystem, it is probably instead an LVM volume which may contain an ext3 filesystem. I say probably because there is no direct relationship between the partition type shown here as "Linux LVM" and what is actually on the partition: you could go and reformat the partition as vfat and the partition type would still remain showing "Linux LVM". But it's probably telling you the truth at the moment.
You need to use the LVM tools to find the LVM volume name to mount it, eg, pvscan and lvscan.
I avoid LVM unless I intend to actually spread the filesystem over multiple discs, unfortunately it is selected by default in Anaconda for all situations.
-Andy
Andy Green <andy <at> warmcat.com> writes:
ne... wrote:
On 6/28/07, thufir <hawat.thufir <at> gmail.com> wrote:
How can I mount hda3 please?
You can't. Now read carefully what is below and figure this one out yourself. That is your assignment for today.
/dev/hda3 1926 9729 62685630 8e Linux LVM
That's not very helpful, it isn't obvious nor is the diagnosis certain.
Appreciate that.
[...]
You need to use the LVM tools to find the LVM volume name to mount it, eg, pvscan and lvscan.
[...]
[root@localhost ~]# [root@localhost ~]# [root@localhost ~]# cat /etc/fedora-release Fedora Core release 3 (Heidelberg) [root@localhost ~]# [root@localhost ~]# pvscan PV /dev/hdb2 VG VolGroup01 lvm2 [28.53 GB / 32.00 MB free] PV /dev/hda3 VG VolGroup00 lvm2 [59.78 GB / 32.00 MB free] Total: 2 [88.31 GB] / in use: 2 [88.31 GB] / in no VG: 0 [0 ] [root@localhost ~]# [root@localhost ~]# lvscan ACTIVE '/dev/VolGroup01/LogVol00' [27.56 GB] inherit ACTIVE '/dev/VolGroup01/LogVol01' [960.00 MB] inherit ACTIVE '/dev/VolGroup00/LogVol00' [58.81 GB] inherit ACTIVE '/dev/VolGroup00/LogVol01' [960.00 MB] inherit [root@localhost ~]# [root@localhost ~]# date Thu Jun 28 07:24:20 PDT 2007 [root@localhost ~]#
thanks,
Thufir
thufir wrote:
PV /dev/hda3 VG VolGroup00 lvm2 [59.78 GB / 32.00 MB free]
ACTIVE '/dev/VolGroup00/LogVol00' [58.81 GB] inherit ACTIVE '/dev/VolGroup00/LogVol01' [960.00 MB] inherit
What does
mount
say then, maybe it is already mounted somewhere. Looks like /dev/VolGroup00/LogVol00 is the guy you want from /dev/hda3
-Andy
thufir wrote:
How can I mount hda3 please?
[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
You have to make a directory on your linux that might be like /fc/ let us say and we want to mount hda3 to this point. As a root do this:
# mount -t ext3 /dev/hda3 /fc
This should work fine.
Karl
Karl Larsen wrote:
thufir wrote:
How can I mount hda3 please?
[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
You have to make a directory on your linux that might be like /fc/ let us say and we want to mount hda3 to this point. As a root do this:
# mount -t ext3 /dev/hda3 /fc
This should work fine.
Unfortunately it won't.
As shown above /dev/hda3 is "Linux LVM". As already pointed out by Andy, the OP needs to use pvscan and lvscan to learn more about the volume.
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.