[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1
From: |
Pascal |
Subject: |
Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1 |
Date: |
Fri, 30 Nov 2018 09:19:06 +0100 |
restart from zero if possible...
# qemu-nbd -d /dev/nbd0
# modprobe -rv nbd
# modprobe nbd
# qemu-nbd -c /dev/nbd0 /the/file
# blockdev --rereadpt /dev/nbd0
# fdisk -l /dev/nbd0
# mount /dev/nbd0p1 /mount/point
Le jeu. 29 nov. 2018 à 17:32, Jakob Bohm <address@hidden> a écrit :
> Check
>
> cat /proc/partitions
>
> If the partitions are not listed there, the kernel does not
> recognize them, perhaps the kernel doesn't recognize that
> nbd0 is a "partitionable disk", and thus does not create the
> internal nbd0p1 and ndb0p2 devices.
>
> If the partitions are listed there, you just need to create the
> actual /dev/nbd0p1 and /dev/nbd0p2 file names with mknod or
> figure out why your "/dev/" management software (maybe udev,
> maybe something better) doesn't do that for you.
>
> On 29/11/2018 12:46, ramakanth varala wrote:
> > Still with some errors..
> >
> > address@hidden ~]# kpartx -a /dev/nbd0
> > read error, sector 0
> > read error, sector 1
> > read error, sector 29
> > address@hidden ~]# ls /dev/nbd
> > nbd0 nbd1 nbd10 nbd11 nbd12 nbd13 nbd14 nbd15 nbd2 nbd3
> nbd4
> > nbd5 nbd6 nbd7 nbd8 nbd9
> >
> >
> >
> > On Thu, Nov 29, 2018 at 4:22 PM Nerijus Baliūnas <
> > address@hidden> wrote:
> >
> >> Please try kpartx -a /dev/nbd0
> >>
> >> 2018-11-29 12:38, ramakanth varala rašė:
> >>> thanks for the reply ..
> >>>
> >>> But i get below error when i do ..
> >>>
> >>>
> >>> address@hidden ~]# partx -a /dev/nbd0
> >>> HDIO_GETGEO: Inappropriate ioctl for device
> >>>
> >>> On Thu, Nov 29, 2018 at 4:04 PM Nerijus Baliūnas <
> >>> address@hidden> wrote:
> >>>
> >>>> 2018-11-29 12:10, ramakanth varala rašė:
> >>>>> address@hidden ~]# mount /dev/nbd0p1 /home/test.1.3.debug/mnt/boot
> >>>>> mount: special device /dev/nbd0p1 does not exist
> >>>> partx -a /dev/nbd0
> >>>>
>
>
> Enjoy
>
> Jakob
> --
> Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
> Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
> This public discussion message is non-binding and may contain errors.
> WiseMo - Remote Service Management for PCs, Phones and Embedded
>
>
>
- [Qemu-discuss] Issue related to mounting /dev/nbd0p1, ramakanth varala, 2018/11/29
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1, Nerijus Baliūnas, 2018/11/29
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1, ramakanth varala, 2018/11/29
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1, Nerijus Baliūnas, 2018/11/29
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1, ramakanth varala, 2018/11/29
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1, Jakob Bohm, 2018/11/29
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1,
Pascal <=
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1, ramakanth varala, 2018/11/30
- Re: [Qemu-discuss] Issue related to mounting /dev/nbd0p1, Pascal, 2018/11/30