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

Re: [linux-lvm] Moving Xen LV to image and mounting the image.



On Fri, Nov 14, 2008 at 11:02 AM, Chris Edwards
<cedwards smartechcorp net> wrote:
>>> sfdisk: ERROR: sector 0 does not have an msdos signature
>>> /dev/loop5: unrecognized partition table type
>
>>Why run sfdisk?
>
> Just trying to see the partitions incase I have to mount with an offset.
>
>>> mount -o loop wdcdns1.img /mnt/tmp/
>
>>Why are you using '-o loop'.  You already have the loop device setup.
>>Couldn't you just:
>>prompt> mount /dev/loop5 /mnt/tmp
>>... or, if you didn't create the loop device already
>>prompt> mount -o loop /root/wdcdns1.img /mnt/tmp
>
>>> mount: you must specify the filesystem type
>>> ---
>>> mount -t xfs -o loop,ro,noatime,nodev,nofsck ~/wdcdns1.img /mnt/tmp/
>>>
>>> mount: unknown filesystem type 'xfs'
>
>>Is the xfs module loaded?  (do you have xfs support?)
>
> I installed the xfs module with yum and then deleted all the loopback devices with losetup -d and started over again...
>
> [root wdcxen1 ~]# losetup -a
> [root wdcxen1 ~]# losetup /dev/loop0 /root/wdcdns1.img
> [root wdcxen1 ~]# losetup -a
> /dev/loop0: [0807]:14876937 (/root/wdcdns1.img)
> [root wdcxen1 ~]# mount -t xfs -o loop,ro,noatime,nodev,nofsck ~/wdcdns1.img /mnt/tmp/
> mount: wrong fs type, bad option, bad superblock on /dev/loop1,
>       missing codepage or other error
>       In some cases useful info is found in syslog - try
>       dmesg | tail  or so
>
> I really appreciate everyones help, this has been stumping me for a week or so.
>
I'm not on a linux box currently, but won't "file /root/wdcdns1.img"
tell you what your working with.

Greg
-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com


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