Re: ioband pebcak again, I'm sure.

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

 



Clint Moore [clint@xxxxxxxxxxxxxx] wrote:
>
> 	Hopefully I'm doing something just as dumb this time as last time.
>
> /dev/sdc and /dev/sdd are iscsi targets.
>
> Cliff notes version is, after setting up ioband and adding a weight to two 
> filesystems per the website docs, I can't mount them anywhere.  I tried 
> this with a local device as well as iscsi targets.  Here's what I did to do 
> this, perhaps I'm missing a step or something?
>
>
> [root@gurn 302]# mount /dev/sdd1 /mnt
> [root@gurn 302]# df -k
> Filesystem           1K-blocks      Used Available Use% Mounted on
> ...
> /dev/sdd1              1031888    172316    807156  18% /mnt
> [root@gurn 302]# umount /mnt
> [root@gurn 302]# mount /dev/sdc1 /mnt
> Filesystem           1K-blocks      Used Available Use% Mounted on
> ...
> /dev/sdc1              1031888    172316    807156  18% /mnt
> [root@gurn 302]# umount /mnt
>
> So the filesystems mount ok otherwise...
>
> [root@gurn 302]# blockdev --getsize /dev/sdc1
> 2096753
> [root@gurn 302]# echo "0 2096753 ioband /dev/sdc1 1" | dmsetup create 
> ioband2
> [root@gurn 302]# blockdev --getsize /dev/sdd1
> 2096753
> [root@gurn 302]# echo "0 2096753 ioband /dev/sdd1 1" | dmsetup create 
> ioband1
> [root@gurn 302]# dmsetup message ioband1 0 weight 40
> [root@gurn 302]# dmsetup message ioband2 0 weight 10
> [root@gurn 302]# dmsetup ls --target ioband
> ioband2	(253, 1)
> ioband1	(253, 0)
> [root@gurn 302]#
>
> [root@gurn 302]# mount /dev/sdc1 /mnt
> mount: /dev/sdc1 already mounted or /mnt busy

Try mounting ioband devices. E.g. : mount /dev/mapper/ioband1 /mnt
or  mount /dev/mapper/ioband2 /mn

You can NOT use /dev/sdc1 or /dev/sdd1 after creating ioband devices from
them.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux