Troubleshooting Disk Errors | Into the Terminal 48

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 6

  • @maheshpaudyal1847
    @maheshpaudyal1847 6 หลายเดือนก่อน

    Wanna know how to fix /sys/root can't find and entered into dracut shell

    • @scottmcbrien6535
      @scottmcbrien6535 6 หลายเดือนก่อน

      It could be many things. What error was displayed prior to being dropped into the recovery shell?

  • @ImranKhan-zu6qv
    @ImranKhan-zu6qv 4 หลายเดือนก่อน

    Hi All,
    I have received disk error while deleting a partition.
    Warning: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)
    syncing disks.
    i have deleted sdx1 partition with out removing volume group vg1 which has mapped on rhel8 server, will it corrupt other sdx2, sdx3 partitions which are in other volume group vg2.
    How will it effect lvms on both volume groups.

    • @scottmcbrien6535
      @scottmcbrien6535 4 หลายเดือนก่อน +1

      This is a normal error message to see when working with your system's primary disk. By default, the kernel reads the primary disk's partition table at boot, so the error is telling you that the kernel won't reflect the change you just made using your partitioning utility. You can also verify this by looking at the contents of /proc/partitions (the partitions currently recognized by the kernel).
      The solution is to use the command: partprobe
      This command will signal the kernel to re-read the disk's partition tables and after you run it, you should see the change reflected in /proc/partitions as well (so you know the kernel has the most recent partition table loaded).

    • @ImranKhan-zu6qv
      @ImranKhan-zu6qv 4 หลายเดือนก่อน

      @@scottmcbrien6535 Will it effect lvms which are available in volume group vg1.

    • @scottmcbrien6535
      @scottmcbrien6535 4 หลายเดือนก่อน +1

      @@ImranKhan-zu6qv This is a hard question to answer exactly because I don't know the setup of your machine. If sdx1 was not a member of any volume groups, it should not affect your LVM setup. If sdx1 was part of a volume group, or even created as a physical volume, you'll want to pvremove it prior to deleting the partition. If you already deleted the partition, use fdisk (or whatever partitioning utility you perfer) and add the partition back. pvremove it, then remove the partition.