Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167607

Re: ghost partition

From Haines Brown <haines@histomat.net>
Newsgroups linux.debian.user
Subject Re: ghost partition
Date 2016-05-09 12:50 +0200
Message-ID <rwQVc-3Ly-13@gated-at.bofh.it> (permalink)
References <rwGCt-9G-1@gated-at.bofh.it> <rwHIf-189-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I had been inserting a sequence of USB keys to see what was on them, and
pretty sure the sde1 interface was used at some point. But no keys are
inserted at present. I also just did a cross installation onto an
attached hard disk and so its directories were mounted locally on /mnt
and I had chroot'ed into its root directory. I suspect this was close in
time to when my root partition became filled. I unmounted these
partitions and I closed the chroot terminal. To avoid confusion I should
note that in what follows, my currently running disk is /dev/sdb, while
the new cross installation was to /dev/sda. That is, /dev/sda is the
newer disk. I should also note that /home, /usr, /var and /tmp
partitions are broken out.

  $ cat /proc/mounts
  rootfs / rootfs rw 0 0
  sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
  proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
  udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=188865,mode=755 0 0
  devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
  tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=1647748k,mode=755 0 0
  /dev/disk/by-uuid/b0673fe5-e6b2-42a5-9121-5fcf32b7135d / \
        ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
  tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
  tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=9545360k 0 0
  /dev/sdb5 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
  ...

  $ ls -la /sys/block/sde
  lrwxrwxrwx 1 root root 0 May  9 05:30 /sys/block/sde ->
  ../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.0/host7/target7:0:0/ \
        7:0:0:1/block/sde

  This is similar to the return from other interfaces.

  # blockdev --report /dev/sde
  RO    RA   SSZ   BSZ   StartSec            Size   Device
  rw   256   512  4096          0               0   /dev/sde

  # blockdev --report /dev/sde1
  RO    RA   SSZ   BSZ   StartSec            Size   Device
  blockdev: cannot open /dev/sde1: No such file or directory

  # grep sde1 /var/log/dmesg
  [nothing]

Juergen suggested deleting /dev/sde1 it after backing it up. That was my
first inclination, but kinda hard to do if /dev/sde1 is not visible. I
also considered just rebooting, but thought best to find out what the
problem is, and who knows I might not be able to boot. I have a second
bootable disk on the machine that automatically mounts the partitions on
my problematic drive on /mnt/debian/...., and so I can boot it and
access the current drive's partitions.

Haines

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ghost partition Haines Brown <haines@histomat.net> - 2016-05-09 01:50 +0200
  Re: ghost partition Andy Smith <andy@strugglers.net> - 2016-05-09 03:00 +0200
    Re: ghost partition Haines Brown <haines@histomat.net> - 2016-05-09 12:50 +0200
      Re: ghost partition Andy Smith <andy@strugglers.net> - 2016-05-09 13:10 +0200
        Re: ghost partition Haines Brown <haines@histomat.net> - 2016-05-09 14:50 +0200
          Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 15:00 +0200
            Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 15:20 +0200
              Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 15:40 +0200
                Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 16:00 +0200
                Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 16:20 +0200
                Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 17:00 +0200
                Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 17:20 +0200
                Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 21:00 +0200
  Re: ghost partition Juergen Bausa <Juergen.Bausa@online.de> - 2016-05-09 09:40 +0200

csiph-web