Hallo,
i have Proxmox Version pve-manager: 2.3-13 an a external USB Drive /dev/sdb
UDEV-RULES
# /etc/init.d/udev restart
Stopping the hotplug events dispatcher: udevd.
Starting the hotplug events dispatcher: udevd.
After a reboot gets the / dev/sda1 / boot the
assigned.?
How is it possible that after a reboot is properly assigned to the sda?
UUID in fstab I have already tried
Thanks
i have Proxmox Version pve-manager: 2.3-13 an a external USB Drive /dev/sdb
Code:
~# sed -ne 's/.*\([sh]d[a-zA-Z]\+$\)/\/dev\/\1/p' /proc/partitions
/dev/sda
/dev/sdb -- my external usb device
# lsscsi
[8:0:0:0] disk TOSHIBA STOR.E PARTNER GT00 /dev/sdb
udevadm info --query=all --attribute-walk --name=/dev/sdb | grep product
ATTRS{product}=="STOR.E PARTNER"
udevadm info --query=all --attribute-walk --name=/dev/sdb | grep SUBSYSTEMS
SUBSYSTEMS=="usb"
~# udevadm info --query=all --attribute-walk --name=/dev/sdb | grep serial
ATTRS{serial}=="CF201202240DD9"
blkid
/dev/sdb1: UUID="9167b08f-2555-471a-9b08-a6e379ffacff" SEC_TYPE="ext2" TYPE="ext3
UDEV-RULES
Code:
vi /etc/udev/rules.d/10-codefix.rules
insert
ACTION=="add",KERNEL=="sdb1", SUBSYSTEMS=="usb", ATTRS{product}=="STOR.E PARTNER",SYMLINK+="usbextern",ATTRS{serial}=="CF201202240DD9",RUN+="/bin/mount /dev/%k /media/usbextern"
ACTION=="remove",ENV{ID_FS_UUID}=="9167b08f-2555-471a-9b08-a6e379ffacff",RUN+="/bin/umount -l /dev/%k /media/usbextern"
Stopping the hotplug events dispatcher: udevd.
Starting the hotplug events dispatcher: udevd.
Code:
I remove the added usb disk and add it again
[CODE]
# mount
/dev/sdb1 on /media/usbextern type ext3 (rw)
cat /etc/mtab | grep sda
/dev/sda1 /boot ext3 rw 0 0
cat /etc/mtab | grep sdb
/dev/sdb1 /media/usbextern ext3 rw 0 0
After a reboot gets the / dev/sda1 / boot the
Code:
cat /etc/mtab | grep sd*
/dev/sdb1 /boot ext3 rw 0 0
assigned.?
How is it possible that after a reboot is properly assigned to the sda?
UUID in fstab I have already tried
Thanks