[opensuse] Hal & Policy Kit?
Hello SuSE people. Running 11.2 with KDE4.3.5. I have several different OS's on my machine and several different partitions which are common to them all. ie. /datastorage, /mediastorage, /backup etc which I can access from each OS. Each of those are listed in my 11.2 fstab. I had the same setup when I tried 11.1. I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount". I was able to get around that in 11.1 (something aboutPolicy Kit) but darned if I can remember what it was that I did. Would some kind soul out there jog the gray matter and put me on the right track? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/04/2010 11:11 PM, Bob S wrote:
Hello SuSE people.
Running 11.2 with KDE4.3.5. I have several different OS's on my machine and several different partitions which are common to them all. ie. /datastorage, /mediastorage, /backup etc which I can access from each OS. Each of those are listed in my 11.2 fstab. I had the same setup when I tried 11.1.
I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount". I was able to get around that in 11.1 (something aboutPolicy Kit) but darned if I can remember what it was that I did.
Would some kind soul out there jog the gray matter and put me on the right track?
Bob S
Bob, hal/dbus/PolicyKit has been broken so many times it is hard to keep track. I have experienced the denials many times and the fixes work until the next set of updates and then things go downhill again. The system is very finicky (that's a technical term). If they are in your fstab, the I can't see how you are getting permission denied errors unless you have found a way to boot through the init process as a regular user (which makes no sense itself). What do your fstab entries look like? I do something similar with several data partitions and /var, /srv, /data, /boot and /home/david/pvt all mounted through fstab and so far it's all working. Here is what I have (note that I have device mapper IDs instead of /dev/sd..., but other than that, it should be similar to what you are doing) # DMRAID Changes /dev/mapper/nvidia_baaccajap5 / ext3 defaults 0 1 /dev/mapper/nvidia_baaccajap6 /boot ext3 defaults 0 1 /dev/mapper/nvidia_baaccajap7 /home ext3 defaults 0 1 /dev/mapper/nvidia_baaccajap8 swap swap defaults 0 0 # New Partitions, /srv and /var on separate partitions /dev/mapper/nvidia_baaccajap9 /var ext3 defaults 0 1 /dev/mapper/nvidia_baaccajap10 /srv ext3 defaults 0 1 # New Data Partitions for /data and ~/pvt /dev/mapper/nvidia_baaccajap12 /data ext4 defaults 0 1 /dev/mapper/nvidia_baaccajap11 /home/david/pvt ext4 defaults 0 1 -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 05 February 2010 03:54:40 David C. Rankin wrote:
On 02/04/2010 11:11 PM, Bob S wrote:
Hello SuSE people.
Running 11.2 with KDE4.3.5. I have several different OS's on my machine and several different partitions which are common to them all. ie. /datastorage, /mediastorage, /backup etc which I can access from each OS. Each of those are listed in my 11.2 fstab. I had the same setup when I tried 11.1.
I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount" David> > was able to get around that in 11.1 (something aboutPolicy Kit) but darned if I can remember what it was that I did.
Would some kind soul out there jog the gray matter and put me on the right track?
Bob S
Bob,
hal/dbus/PolicyKit has been broken so many times it is hard to keep track. I have experienced the denials many times and the fixes work until the next set of updates and then things go downhill again. The system is very finicky (that's a technical term).
If they are in your fstab, the I can't see how you are getting permission denied errors unless you have found a way to boot through the init process as a regular user (which makes no sense itself). What do your fstab entries look like?
David, As per my original post in the second paragraph above, that is the message I get. However, nothing in my fstab is /dev/hd? They are all mounted by Label as per below except for two fat partitions and swap which are designated as /dev/sd??. LABEL=11.2 / ext3 acl,user_xattr 1 1 LABEL=11.2home /home ext3 acl,user_xattr 1 2 LABEL=11.2tmp /tmp ext3 acl,user_xattr 1 2 LABEL=11.2usr /usr ext3 acl,user_xattr 1 2 LABEL=11.2var /var ext3 acl,user_xattr 1 2 LABEL=11.0 / ext3 acl,user_xattr 1 1 LABEL=11.0home /11.0home ext3 acl,user_xattr 1 2 LABEL=11.0var /11.0var ext3 acl,user_xattr 1 2 LABEL=11.0tmp /11.0tmp ext3 acl,user_xattr 1 2 /dev/disk/by-id/scsi-SATA_ST3250824AS_4ND4ZTYJ-part3 swap swap defaults 0 0 LABEL=10.2 /10.2 ext3 defaults 1 2 LABEL=10.2home /10.2home ext3 defaults 1 2 LABEL=10.2tmp /10.2tmp ext3 defaults 1 2 LABEL=10.2var /10.2var ext3 defaults 1 2 LABEL=backup /backup ext3 defaults 1 2 LABEL=datastorage /datastorage ext3 defaults 1 2 /dev/sdc7 /fat vfat users,gid=users,umask=0002,utf8=true 0 0 LABEL=mediadata /mediadata ext3 defaults 1 2 LABEL=storage /storage ext3 defaults 1 2 /dev/sda1 /windows fat users,gid=users,umask=0002,utf8=true 0 0 LABEL=workspace /workspace ext3 defaults 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 For more info to think about. All of the partitions in the fstab show up in that left sidebar in Dolphin. That is where I click on them to open them and get the error message. They don't show up in the main root directory in Konqueror at all. A little more investigation shows I can open the two fat partitions (/dev/sda1 & /dev/sdc7) but have to give the root password to Dolphin. Getting more curious I open the partitioner and ????? my three drives are designated hda, and hdb (both ide) and sde !!! (sata) And, yes. the drives I can't mount have the little asterisk after them. The note in the "Help" menu mentions something about no-auto or automount, but that is not my case as seen in the fstab above. My 10.2 and 11.0 attributes are exactly like the 11.2 one. So why won't they mount and show up in the "/" directory like the other OS's? Why oh why? Why must this be so convuluted and complicated when it all used to just work? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-02-06 04:12, Bob S wrote:
As per my original post in the second paragraph above, that is the message I get. However, nothing in my fstab is /dev/hd? They are all mounted by Label as per below except for two fat partitions and swap which are designated as /dev/sd??.
swap and fat can also be mounted by label, if you want.
/dev/sdc7 /fat vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda1 /windows fat users,gid=users,umask=0002,utf8=true 0 0
A little more investigation shows I can open the two fat partitions (/dev/sda1 & /dev/sdc7) but have to give the root password to Dolphin.
That's because you have "users" in the fstab entry. It should be "user", no final "s". The meaning is quite different. And the entry for sda1 should be "vfat", not "fat". - -- Cheers / Saludos, Carlos E. R. (from 11.2 "Emerald" GM (bombadillo)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkts4ekACgkQU92UU+smfQVBXgCeJzbjAXZXl1RNdjvxG2RwqJ1l +YkAn0BYYreZNYCDbDMkWOJ0LhlG178T =BTx1 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 05 February 2010 22:28:41 Carlos E. R. wrote:
On 2010-02-06 04:12, Bob S wrote:
As per my original post in the second paragraph above, that is the message I get. However, nothing in my fstab is /dev/hd? They are all mounted by Label as per below except for two fat partitions and swap which are designated as /dev/sd??.
swap and fat can also be mounted by label, if you want.
/dev/sdc7 /fat vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda1 /windows fat users,gid=users,umask=0002,utf8=true 0 0
A little more investigation shows I can open the two fat partitions (/dev/sda1 & /dev/sdc7) but have to give the root password to Dolphin.
That's because you have "users" in the fstab entry. It should be "user", no final "s". The meaning is quite different.
OK Carlos. your input is accepted and noted as an expert in this realm. I question however that these two partitions are mounted and accessible in 10.2 and 11.0 with exactly the same parameters in fstab of those OS's and in 11.2 they are not. But, willing to try, I changed "users" to "user" and got exactly the same result. Could not mount without the root password. Sooooo....It seems it boiled down to the same result. Works in 10.2 and 11.0 but not in 11.2. the difference being the "Hal Policykit" stuff.
And the entry for sda1 should be "vfat", not "fat".
-- Cheers / Saludos,
Carlos E. R. (from 11.2 "Emerald" GM (bombadillo))
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Sonntag, 7. Februar 2010 schrieb Bob S:
[...] OK Carlos. your input is accepted and noted as an expert in this realm. I question however that these two partitions are mounted and accessible in 10.2 and 11.0 with exactly the same parameters in fstab of those OS's and in 11.2 they are not. [...]
Because of different hal versions? Gruß Jan -- Politicians do it to Everyone. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/07/2010 07:31 AM, Bob S wrote:
On Friday 05 February 2010 22:28:41 Carlos E. R. wrote:
On 2010-02-06 04:12, Bob S wrote:
As per my original post in the second paragraph above, that is the message I get. However, nothing in my fstab is /dev/hd? They are all mounted by Label as per below except for two fat partitions and swap which are designated as /dev/sd??.
swap and fat can also be mounted by label, if you want.
/dev/sdc7 /fat vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda1 /windows fat users,gid=users,umask=0002,utf8=true 0 0
A little more investigation shows I can open the two fat partitions (/dev/sda1 & /dev/sdc7) but have to give the root password to Dolphin.
That's because you have "users" in the fstab entry. It should be "user", no final "s". The meaning is quite different.
OK Carlos. your input is accepted and noted as an expert in this realm. I question however that these two partitions are mounted and accessible in 10.2 and 11.0 with exactly the same parameters in fstab of those OS's and in 11.2 they are not.
I know very little about hal. However, once you have (change this with both partitions unmounted): /dev/sdc7 /windows/one vfat user,gid=users,umask=0002,utf8=true 0 0 /dev/sda1 /windows/two vfat user,gid=users,umask=0002,utf8=true 0 0 then you can try to mount both via command line in a konsole or xterm: mount /windows/one mount /windows/two The output of both commands will be interesting.
But, willing to try, I changed "users" to "user" and got exactly the same result. Could not mount without the root password. Sooooo....It seems it boiled down to the same result. Works in 10.2 and 11.0 but not in 11.2. the difference being the "Hal Policykit" stuff.
I have to see the output of the command line. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAktu8XsACgkQU92UU+smfQV/9ACgg7u7ixdQutqG8YgFIdBv1S2J uU0AnAr1zAXZ3QcuyNH3isLgAEEZrWu1 =wrIl -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 February 2010 10:31:22 pm Bob S wrote:
On Friday 05 February 2010 22:28:41 Carlos E. R. wrote:
On 2010-02-06 04:12, Bob S wrote:
As per my original post in the second paragraph above, that is the message I get. However, nothing in my fstab is /dev/hd? They are all mounted by Label as per below except for two fat partitions and swap which are designated as /dev/sd??.
swap and fat can also be mounted by label, if you want.
/dev/sdc7 /fat vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda1 /windows fat users,gid=users,umask=0002,utf8=true 0 0
A little more investigation shows I can open the two fat partitions (/dev/sda1 & /dev/sdc7) but have to give the root password to Dolphin.
That's because you have "users" in the fstab entry. It should be "user", no final "s". The meaning is quite different.
OK Carlos. your input is accepted and noted as an expert in this realm. I question however that these two partitions are mounted and accessible in 10.2 and 11.0 with exactly the same parameters in fstab of those OS's and in 11.2 they are not.
But, willing to try, I changed "users" to "user" and got exactly the same result. Could not mount without the root password. Sooooo....It seems it boiled down to the same result. Works in 10.2 and 11.0 but not in 11.2. the difference being the "Hal Policykit" stuff.
And the entry for sda1 should be "vfat", not "fat".
-- Cheers / Saludos,
Carlos E. R. (from 11.2 "Emerald" GM (bombadillo))
Hi Bob: Interesting I just stumbled across this thread. I am having a similar problem with 11.3 MS1. I have two external usb disc (1TB with two partitions and a 230GB usb disc) also two DVDs. As root I can access all of them. As user I cannot access any of them after a reboot.) I also have a usb printer and usb keyboard/mouse that work fine for a user. user is a member of groups audio, cdrom, video, and disk. DVD devices (sr0 and 1) are owned by root:cdrom and have permissions of brw-rw----+. getfacl shows correct setting so user should be able to access. I have checked permissions of all associated items in /dev, /proc etc and they are exactly the same on 11.2 and 11.3. Back on 11.1 you had to make sure user was in the above groups. Or modify the policykit org.freedesktop.hal.device-access.policy in /usr/share/PolicyKit/policy. See http://mrdwinz.blogsome.com/2008/12/26/workaround-for-dvd-access-on- opensuse-111/ (note: no wrap on url). The above mentioned policy does not exist in 11.2 or 11.3. There is a storage policy and it is the same on both 11.2 and 11.3. The usb entry in fstab only has noauto and /proc has defaults, no user. Not sure where to change the defaults. Also changing it would effect 11.3 /boot partition as it set defaults where 11.2 does not. My 11.2 system allows the user to access all drives mentioned above without root logging on first. My system is dual boot 11.3 and production 11.2 on separate 320 GB internal drives. My 11.3 system gets a hal error when user tries to access it. I am seeing a hal error in dmesg right after boot (Bug 577489) but I,m not sure if its related? Hope something here helps you. If you find the problem please post results, it may give me an idea, I'm lost. I will open a thread on the prerelease news group also. Good Luck. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/05/2010 09:12 PM, Bob S wrote:
On Friday 05 February 2010 03:54:40 David C. Rankin wrote:
On 02/04/2010 11:11 PM, Bob S wrote:
Hello SuSE people.
Running 11.2 with KDE4.3.5. I have several different OS's on my machine and several different partitions which are common to them all. ie. /datastorage, /mediastorage, /backup etc which I can access from each OS. Each of those are listed in my 11.2 fstab. I had the same setup when I tried 11.1.
I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount" David> > was able to get around that in 11.1 (something aboutPolicy Kit) but darned if I can remember what it was that I did.
Would some kind soul out there jog the gray matter and put me on the right track?
<snip>
David,
As per my original post in the second paragraph above, that is the message I get. However, nothing in my fstab is /dev/hd? They are all mounted by Label as per below except for two fat partitions and swap which are designated as /dev/sd??.
LABEL=11.2 / ext3 acl,user_xattr 1 1 LABEL=11.2home /home ext3 acl,user_xattr 1 2 LABEL=11.2tmp /tmp ext3 acl,user_xattr 1 2 LABEL=11.2usr /usr ext3 acl,user_xattr 1 2 LABEL=11.2var /var ext3 acl,user_xattr 1 2 LABEL=11.0 / ext3 acl,user_xattr 1 1 LABEL=11.0home /11.0home ext3 acl,user_xattr 1 2 LABEL=11.0var /11.0var ext3 acl,user_xattr 1 2 LABEL=11.0tmp /11.0tmp ext3 acl,user_xattr 1 2 /dev/disk/by-id/scsi-SATA_ST3250824AS_4ND4ZTYJ-part3 swap swap defaults 0 0 LABEL=10.2 /10.2 ext3 defaults 1 2 LABEL=10.2home /10.2home ext3 defaults 1 2 LABEL=10.2tmp /10.2tmp ext3 defaults 1 2 LABEL=10.2var /10.2var ext3 defaults 1 2 LABEL=backup /backup ext3 defaults 1 2 LABEL=datastorage /datastorage ext3 defaults 1 2 /dev/sdc7 /fat vfat users,gid=users,umask=0002,utf8=true 0 0 LABEL=mediadata /mediadata ext3 defaults 1 2 LABEL=storage /storage ext3 defaults 1 2 /dev/sda1 /windows fat users,gid=users,umask=0002,utf8=true 0 0 LABEL=workspace /workspace ext3 defaults 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0
For more info to think about. All of the partitions in the fstab show up in that left sidebar in Dolphin. That is where I click on them to open them and get the error message. They don't show up in the main root directory in Konqueror at all.
======== notes: /datastorage, /mediastorage, /backup etc which I can access from each OS. Each of those are listed in my 11.2 fstab. ======= Bob, I'm confused (not uncommon), when you boot 11.2, or any of the other OS's, I see that backup, datastorage, and mediadata should be mounted -- period on /backup, /datastorage, and /mediadata (presuming 'mediadata' is actually your 'mediastorage' in disguise ;-) <wild ass guess> When I think about things that could skuttle the mount and cause problems similar to what you are seeing, the number-one thought is that somehow during one of your boots into one of the OS's one, or all, of the drives failed to mount and data got written to the 'mount point' ending up on the / partition under the /backup, /datastorage, and /mediadata 'directories' instead of the actual 'partitions' that is now causing problems in mounting the drives because you have a non-empty mount-point and throws a /dev/sda... error because that is the drive where the partition should have been mounted, but now contains only spurious data. Now I do not know how this is handled with any of the newer suse releases, but in the past, long before the new mystery of hal/dbus/PolicyKit descended upon us -- if you had a partition fail to mount and wrote data to the mount point when no partition was mounted, then when the mount problem was fixed, the next time you actually had a successful mount, the mounted partition would simple "cover up" the underlying data in the mount point/directory and things would simply carry on as normal until you unmounted the partition and did an ls on the mount point only to discover there were still files on the 'unmounted' partition... Now, who knows with the new wizardry. I don't know if this is your problem or not, but a simple way to check is to boot into the OS of your choice and then 'umount' the /backup, /datastorage, and /mediadata partitions and then do a simple 'ls' on the mount point. Clear as mud -- Right??
A little more investigation shows I can open the two fat partitions (/dev/sda1 & /dev/sdc7) but have to give the root password to Dolphin.
I think Carlos nailed this one user/users fat/vfat.. Getting more
curious I open the partitioner and ????? my three drives are designated hda, and hdb (both ide) and sde !!! (sata) And, yes. the drives I can't mount have the little asterisk after them. The note in the "Help" menu mentions something about no-auto or automount, but that is not my case as seen in the fstab above. My 10.2 and 11.0 attributes are exactly like the 11.2 one. So why won't they mount and show up in the "/" directory like the other OS's?
When I started this reply, I was still shady on exactly what you are seeing when you boot and can't get the drives mounted. I'm not saying I can solve it with this additional information, but posting it might help me or someone else get to the bottom of it. I think the following information would help (1) boot, then before you do anything else, give the output of: df -h mount cat /proc/partitions cat /proc/diskstats ls -al /backup ls -al /datastorage ls -al /mediadata (2) Manually unmount 'umount' /backup, /datastorage, and /mediadata, then give the same information df -h mount cat /proc/partitions cat /proc/diskstats ls -al /backup ls -al /datastorage ls -al /mediadata (3) Manually mount /backup, /datastorage, and /mediadata, then give the following: df -h mount cat /proc/partitions cat /proc/diskstats ls -al /backup ls -al /datastorage ls -al /mediadata (4) dmesg output (bzipped if you post it somewhere, if you don't have a site you can post it on, send it to me by email and I'll post it on my site for the community to get to) (5) /var/log/messages (same deal) With all that additional information, hopefully we will be able to discover where the gremlins in your system are hiding. Also, if anybody else can think of additional output that would help diagnose the problem, please chime in. I'm no mount problem guru and Bob could really use the additional help ;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-02-06 05:59, David C. Rankin wrote:
Now I do not know how this is handled with any of the newer suse releases, but in the past, long before the new mystery of hal/dbus/PolicyKit descended upon us -- if you had a partition fail to mount and wrote data to the mount point when no partition was mounted, then when the mount problem was fixed, the next time you actually had a successful mount, the mounted partition would simple "cover up" the underlying data in the mount point/directory and things would simply carry on as normal until you unmounted the partition and did an ls on the mount point only to discover there were still files on the 'unmounted' partition... Now, who knows with the new wizardry.
The same, as the wizardry still has to rely on the kernel and such to do the actual mounting. - -- Cheers / Saludos, Carlos E. R. (from 11.2 "Emerald" GM (bombadillo)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkttP6UACgkQU92UU+smfQVJ+QCgjz1H8uhV3t46AZj4is9CjJ0x jnQAn1DBLn6GNY4uL+bbI6dqy3pPC1jg =beFt -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 05 February 2010 23:59:42 David C. Rankin wrote:
On 02/05/2010 09:12 PM, Bob S wrote:
On Friday 05 February 2010 03:54:40 David C. Rankin wrote: ................<snjpped all previous>............. Bob,
I'm confused (not uncommon), when you boot 11.2, or any of the other OS's, I see that backup, datastorage, and mediadata should be mounted -- period on /backup, /datastorage, and /mediadata (presuming 'mediadata' is actually your 'mediastorage' in disguise ;-)
<wild ass guess>
When I think about things that could skuttle the mount and cause problems similar to what you are seeing, the number-one thought is that somehow during one of your boots into one of the OS's one, or all, of the drives failed to mount and data got written to the 'mount point' ending up on the / partition under the /backup, /datastorage, and /mediadata 'directories' instead of the actual 'partitions' that is now causing problems in mounting the drives because you have a non-empty mount-point and throws a /dev/sda... error because that is the drive where the partition should have been mounted, but now contains only spurious data.
Now I do not know how this is handled with any of the newer suse releases, but in the past, long before the new mystery of hal/dbus/PolicyKit descended upon us -- if you had a partition fail to mount and wrote data to the mount point when no partition was mounted, then when the mount problem was fixed, the next time you actually had a successful mount, the mounted partition would simple "cover up" the underlying data in the mount point/directory and things would simply carry on as normal until you unmounted the partition and did an ls on the mount point only to discover there were still files on the 'unmounted' partition... Now, who knows with the new wizardry.
I don't know if this is your problem or not, but a simple way to check is to boot into the OS of your choice and then 'umount' the /backup, /datastorage, and /mediadata partitions and then do a simple 'ls' on the mount point.
Clear as mud -- Right??
No, following so far. I think.
A little more investigation shows I can open the two fat partitions (/dev/sda1 & /dev/sdc7) but have to give the root password to Dolphin.
I think Carlos nailed this one user/users fat/vfat..
No, not exactly. See my reply to Carlos. ...........<more snippage>............
When I started this reply, I was still shady on exactly what you are seeing when you boot and can't get the drives mounted. I'm not saying I can solve it with this additional information, but posting it might help me or someone else get to the bottom of it. I think the following information would help
OK, Will follow your lead and instructions. But each OS has a different output and I will publish it all. Have a place to publish it if anyone is really interested in it. But not until Monday or Tuesday. after the Superbowl !!!
With all that additional information, hopefully we will be able to discover where the gremlins in your system are hiding. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/07/2010 12:57 AM, Bob S wrote:
When I started this reply, I was still shady on exactly what you are seeing when you boot and can't get the drives mounted. I'm not saying I can solve it with this additional information, but posting it might help me or someone else get to the bottom of it. I think the following information would help
OK, Will follow your lead and instructions. But each OS has a different output and I will publish it all. Have a place to publish it if anyone is really interested in it. But not until Monday or Tuesday. after the Superbowl !!!
For starters, Don't worry about the data from 10.X-11.1 where it is working, just get the output and logs for 11.2 where it is broken. That's a good starting place... -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 07 February 2010 02:25:59 David C. Rankin wrote:
On 02/07/2010 12:57 AM, Bob S wrote:
When I started this reply, I was still shady on exactly what you are seeing when you boot and can't get the drives mounted. I'm not saying I can solve it with this additional information, but posting it might help me or someone else get to the bottom of it. I think the following information would help
OK, Will follow your lead and instructions. But each OS has a different output and I will publish it all. Have a place to publish it if anyone is really interested in it. But not until Monday or Tuesday. after the Superbowl !!!
For starters,
Don't worry about the data from 10.X-11.1 where it is working, just get the output and logs for 11.2 where it is broken. That's a good starting place...
David & Carlos, Soooooooo Simple. Usually is,right?? Evidently there have been some subtle changes in Yast's defaults. I opened up the partitioner and started looking carefully. There it was, fstab options. "Do not mount" changed that and all is well. Seems there is also a menu to change the defaults in the way that the partitioner works also. upscope hope you are reading this. Might be your problem also. Anyway guys, thanks for all your help, advice, and interest. It is really appreciated. Now onto my other little problems in 11.2 Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 08 February 2010 01:35:11 pm Bob S wrote:
On Sunday 07 February 2010 02:25:59 David C. Rankin wrote:
On 02/07/2010 12:57 AM, Bob S wrote:
When I started this reply, I was still shady on exactly what you are seeing when you boot and can't get the drives mounted. I'm not saying I can solve it with this additional information, but posting it might help me or someone else get to the bottom of it. I think the following information would help
OK, Will follow your lead and instructions. But each OS has a different output and I will publish it all. Have a place to publish it if anyone is really interested in it. But not until Monday or Tuesday. after the Superbowl !!!
For starters,
Don't worry about the data from 10.X-11.1 where it is working, just get the output and logs for 11.2 where it is broken. That's a good starting place...
David & Carlos,
Soooooooo Simple. Usually is,right??
Evidently there have been some subtle changes in Yast's defaults. I opened up the partitioner and started looking carefully. There it was, fstab options. "Do not mount" changed that and all is well. Seems there is also a menu to change the defaults in the way that the partitioner works also.
upscope hope you are reading this. Might be your problem also.
Anyway guys, thanks for all your help, advice, and interest. It is really appreciated. Now onto my other little problems in 11.2
Bob S
Yes I just read it. Will check it today after I figure out why 11.2 is now giving me a segment fault after kernel update yesterday. I'LL post results. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 08 February 2010 01:35:11 pm Bob S wrote:
On Sunday 07 February 2010 02:25:59 David C. Rankin wrote:
On 02/07/2010 12:57 AM, Bob S wrote:
When I started this reply, I was still shady on exactly what you are seeing when you boot and can't get the drives mounted. I'm not saying I can solve it with this additional information, but posting it might help me or someone else get to the bottom of it. I think the following information would help
OK, Will follow your lead and instructions. But each OS has a different output and I will publish it all. Have a place to publish it if anyone is really interested in it. But not until Monday or Tuesday. after the Superbowl !!!
For starters,
Don't worry about the data from 10.X-11.1 where it is working, just get the output and logs for 11.2 where it is broken. That's a good starting place...
David & Carlos,
Soooooooo Simple. Usually is,right??
Evidently there have been some subtle changes in Yast's defaults. I opened up the partitioner and started looking carefully. There it was, fstab options. "Do not mount" changed that and all is well. Seems there is also a menu to change the defaults in the way that the partitioner works also.
upscope hope you are reading this. Might be your problem also. I got the disks fixed, wasn't quite problem you had but the input above helped me find it. It was I forgot to define the mount points on the two disks. Defined them where you said and user can now mount them.
Now if I could figure out how user can mount CD and DVD drives. I'm already in proper groups. Sames as 11.2 setup. All permissions look good. I think its in the policy kit somewhere. I remembered a change on 11.1 to the policykit that made it work, but that policy no longer exists. Not sure which one controls it now. Oh well I'll keep plugging away at it. Thanks to everyone who had some input.
Anyway guys, thanks for all your help, advice, and interest. It is really appreciated. Now onto my other little problems in 11.2
Bob S
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag, 5. Februar 2010 schrieb Bob S:
[...] I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount". [...]
How exactly are you trying to mount these partitions? "mount /backup"? Via Dolphin or the Device Notifier Widget? Gruß Jan -- The most dangerous of untruths, are truths moderately distorted. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 05 February 2010 09:56:37 Jan Ritzerfeld wrote:
Am Freitag, 5. Februar 2010 schrieb Bob S:
[...] I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount". [...]
How exactly are you trying to mount these partitions? "mount /backup"? Via Dolphin or the Device Notifier Widget?
Via Dolphin. Please take a look at my long reply to Dave Rankin and all tips, suggestions are welcome. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Samstag, 6. Februar 2010 schrieb Bob S:
On Friday 05 February 2010 09:56:37 Jan Ritzerfeld wrote:
Am Freitag, 5. Februar 2010 schrieb Bob S:
[...] I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount". [...]
How exactly are you trying to mount these partitions? "mount /backup"? Via Dolphin or the Device Notifier Widget?
Via Dolphin. Please take a look at my long reply to Dave Rankin and all tips, suggestions are welcome.
And simply mounting them via "mount" on the command line works? Gruß Jan -- Where all think alike, no one thinks very much. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Feb 5, 2010 at 12:11 AM, Bob S <911@sanctum.com> wrote:
Hello SuSE people.
Running 11.2 with KDE4.3.5. I have several different OS's on my machine and several different partitions which are common to them all. ie. /datastorage, /mediastorage, /backup etc which I can access from each OS. Each of those are listed in my 11.2 fstab. I had the same setup when I tried 11.1.
I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount". I was able to get around that in 11.1 (something aboutPolicy Kit) but darned if I can remember what it was that I did.
Would some kind soul out there jog the gray matter and put me on the right track?
Bob S
I don't think policykit etc. is your issue. You say /dev/hda? I'll assume that is not a typo. Back in 10.0 days that was the only way to do it. Since 10.3 or 11.0 the default is to use /dev/sda? naming, but you can still override that via a boot time argument you put in your grub menu. If each of your multi-boot options has its own /etc/fstab you can make a different choice for each. But, if you want to have just one way to handle this you need to decide which of the below you want to do: 1) Switch to mount by label, or mount by guid, etc. This is the recommended approach, but I just had a 11.1 to 11.2 upgrade blow up because I was using mount by guid. I'm back to /dev/sda? style on that box. 2) stick with /dev/hda? and ensure your grub menus have the override in them to use the legacy drivers/ide interface 3) switch to /dev/sda? but you need to sure your oldest distro can handle that. If they can, you must have the override in place for them, so you will need to take it out if you switch. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 05 February 2010 10:08:58 Greg Freemyer wrote:
On Fri, Feb 5, 2010 at 12:11 AM, Bob S <911@sanctum.com> wrote:
Hello SuSE people.
Running 11.2 with KDE4.3.5. I have several different OS's on my machine and several different partitions which are common to them all. ie. /datastorage, /mediastorage, /backup etc which I can access from each OS. Each of those are listed in my 11.2 fstab. I had the same setup when I tried 11.1.
I am unable to mount them in 11.2 getting the message "Hal Device Volume Permission denied. /dev/hda? is listed in fstab but refuses to mount". I was able to get around that in 11.1 (something aboutPolicy Kit) but darned if I can remember what it was that I did.
Would some kind soul out there jog the gray matter and put me on the right track?
Bob S
I don't think policykit etc. is your issue.
You say /dev/hda? I'll assume that is not a typo.
No that is not a typo. That is what the error message says. However, the questioned drive/partition is designated by Label in the fstab. I'm going to ask you also to take a look at my reply to Dave Rankin for more details.
Back in 10.0 days that was the only way to do it.
Since 10.3 or 11.0 the default is to use /dev/sda? naming, but you can still override that via a boot time argument you put in your grub menu.
Yes that is correct and is reflected that way in my11.0
If each of your multi-boot options has its own /etc/fstab you can make a different choice for each.
But, if you want to have just one way to handle this you need to decide which of the below you want to do:
1) Switch to mount by label, or mount by guid, etc. This is the recommended approach, but I just had a 11.1 to 11.2 upgrade blow up because I was using mount by guid. I'm back to /dev/sda? style on that box.
All of my Linux partitions are mount by Label and evidently I am running into the same but different problem you did. However my 11.2 partions are by Label and it seems to be alright for that OS.
2) stick with /dev/hda? and ensure your grub menus have the override in them to use the legacy drivers/ide interface
3) switch to /dev/sda? but you need to sure your oldest distro can handle that. If they can, you must have the override in place for them, so you will need to take it out if you switch.
Thanks for replying Greg. It has to be something with Hal and mis-identifying the drives. What else could it be? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Bob S
-
Carlos E. R.
-
David C. Rankin
-
Greg Freemyer
-
Jan Ritzerfeld
-
upscope