Re: /dev/loop

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

 



Hello,

I guess that it is an issue with the partition table.
I have 3 disks in teh same machine.
Yesterday I turned on the machine and turn it on this morning.
I could not boot. Then I decided to mount them in an
external USB enclosure. They all behave the same.

testdisk
Partition sector doesn't have the endmark 0xAA55

Disk /dev/sdc: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I never though that I could lost 3 disks at the same time.
I have a copy of the partition table on the disks.

I am trying to run testdisk

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


> Sent: Friday, July 14, 2017 at 1:06 AM
> From: "Rick Stevens" <ricks@xxxxxxxxxxxxxx>
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: /dev/loop
>
> On 07/13/2017 03:38 PM, Patrick Dupre wrote:
> > Sorry,
> > 
> > fdisk does not show the disk (df shows loopx)
> 
> Huh? If "df" shows something on a loop device, then it's mounted
> somewhere or df wouldn't know how to extract the size data. For example,
> with an ISO image mounted via loop to /mnt/Misc using the command
> 
> 	mount -t loop /path/to/iso/image.iso /mnt/Misc
> 
> I see:
> 
> 	[root@prophead ~]# df -h
> 	...
> 	/dev/loop0               1.2G  1.2G     0 100% /mnt/Misc
> 
> It shows up in fdisk using an "fdisk -l":
> 
> 	[root@prophead ~]# fdisk -l
> 	...
> 	Disk /dev/loop0: 1.1 GiB, 1222639616 bytes, 2387968 sectors
> 	Units: sectors of 1 * 512 = 512 bytes
> 	Sector size (logical/physical): 512 bytes / 512 bytes
> 	I/O size (minimum/optimal): 512 bytes / 512 bytes
> 	Disklabel type: dos
> 	Disk identifier: 0x6b8b4567
> 
> 	Device       Boot  Start     End Sectors  Size Id Type
> 	/dev/loop0p1 *         0 2387967 2387968  1.1G  0 Empty
> 	/dev/loop0p2      105336  118339   13004  6.4M ef EFI (FAT-12/16/32)
> 	/dev/loop0p3      118340  146419   28080 13.7M  0 Empty
> 
> If you mount external media via the GUI or if it's automounted, it
> should mount in
> 
> 	/run/media/your-user-name/blah
> 
> with "blah" being either the media's filesystem label or some string
> that identifies the USB device. If you don't see somewhat similar
> things, then check dmesg and your logs for errors and/or hints.
> 
> And you know better than to top-post on this list, right? You've been
> a member long enough.
> 
> >> Sent: Friday, July 14, 2017 at 12:35 AM
> >> From: "Patrick Dupre" <pdupre@xxxxxxx>
> >> To: fedora <users@xxxxxxxxxxxxxxxxxxxxxxx>
> >> Subject: /dev/loop
> >>
> >> Hello,
> >>
> >> When I pluck a USB Hard Drive, it mounts as /dev/loop0 and /dev/loop3
> >>
> >> df does not show the disk.
> >>
> >> What is wrong?
> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
> - AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
> -                                                                    -
> -    Overweight:  When you step on your dog's tail...and it dies.    -
> ----------------------------------------------------------------------
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux