search for: id_fs_type

Displaying 7 results from an estimated 7 matches for "id_fs_type".

2013 Feb 21
3
[PATCH] virtio-blk: emit udev event when device is resized
...have custom udev rules which would take whatever action if such event occurs. As a proof of concept I've created simple udev rule that automatically resize filesystem on virtio-blk device. ACTION=="change", KERNEL=="vd*", \ ENV{RESIZE}=="1", \ ENV{ID_FS_TYPE}=="ext[3-4]", \ RUN+="/sbin/resize2fs /dev/%k" ACTION=="change", KERNEL=="vd*", \ ENV{RESIZE}=="1", \ ENV{ID_FS_TYPE}=="LVM2_member", \ RUN+="/sbin/pvresize /dev/%k" Signed-off-by: Milos Vyletel &...
2013 Feb 21
3
[PATCH] virtio-blk: emit udev event when device is resized
...have custom udev rules which would take whatever action if such event occurs. As a proof of concept I've created simple udev rule that automatically resize filesystem on virtio-blk device. ACTION=="change", KERNEL=="vd*", \ ENV{RESIZE}=="1", \ ENV{ID_FS_TYPE}=="ext[3-4]", \ RUN+="/sbin/resize2fs /dev/%k" ACTION=="change", KERNEL=="vd*", \ ENV{RESIZE}=="1", \ ENV{ID_FS_TYPE}=="LVM2_member", \ RUN+="/sbin/pvresize /dev/%k" Signed-off-by: Milos Vyletel &...
2012 Feb 06
8
Cdrom on Linux domU PV
I tried to use cdrom in domU linux pv (Linux Mint 11 based on Natty). With ''/mnt/vm/iso/test.iso,raw,xvdb,ro,cdrom'', Mint sees it as internal disk (not cdrom) and only administrators can mount it. I tried also ''/dev/scd0,raw,xvdb,ro,cdrom'' does the same thing. Is possible use cdrom on linux domU pv full working where also normal user can mount it without
2012 Aug 19
5
fail to mount after first reboot
I created a 1TB RAID1. So far it is just for testing, no important data on there. After a reboot, I tried to mount it again # mount /dev/mapper/vg00-btrfsvol0_0 /mnt/btrfs0 mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg00-btrfsvol0_0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or
2018 Jul 31
1
Issues booting centos7 [dracut is failing to enable centos/root, centos/swap LVs]
...t; PTTYPE="dos" /dev/sda1: UUID="a620a180-3a8c-4b5f-ad30-804f131a7261" TYPE="xfs" /dev/sda2: PTTYPE="dos" + blkid -o udev ID_FS_UUID=2016-10-28-12-18-36-00 ID_FS_UUID_ENC=2016-10-28-12-18-36-00 ID_FS_LABEL=CentOS_7_x86_64 ID_FS_LABEL_ENC=CentOS\x207\x20x86_64 ID_FS_TYPE=iso9660 ID_PART_TABLE_TYPE=dos To fix the problem, I booted the system from a livecd and used "wipefs" utility to erase the problematic signature "dos" and leave only the correct one "LVM_member". The exact command was: 'wipefs -o 0x1fe -ff /dev/sda2' [root...
2018 Jul 31
2
Issues booting centos7 [dracut is failing to enable centos/root, centos/swap LVs]
> Yannis Milios wrote: >>> But, what happens if you let the kernel post install scripts do the >>> work or setting up the initrd things? >> >> Initially, I just rebooted from LiveCD and left Grub,kernel and dracut >> do >> their job with the defaults, but unfortunately, boot process stops at >> initrd (dracut) stage with the following error:
2010 Apr 16
2
[RFC] btrfs, udev and btrfs
...CTION!="add|change", GOTO="btrfs_scan_end" SUBSYSTEM!="block", GOTO="btrfs_scan_end" KERNEL!="sd[!0-9]*|hd[!0-9]*", GOTO="btrfs_scan_end" IMPORT{program}="/sbin/blkid -o udev -p $tempnode" # only disk scsi and ide ENV{ID_FS_TYPE}="btrfs", RUN+="/sbin/btrfsctl -A /dev/$name" LABEL="btrfs_scan_end" Note #1) This rule is tested on a ubuntu 10.4 Note #2) ubuntu 10.4 has the old btrfctl tool This work quite well for devices which appear *after* mounting the root file system. For a (very) co...