OpenSuse 11.2 64bit When I select a hard drive in Dolphin file manager it asks for the root password. I would like to gain easier access to the drives. The Yast Partition Manager lists all of the drives and has a dialog box to change this i.e. user can mount the drive. Can we change this feature on the run, while the system is running ? The Fstab file is not listing all of the drives, so I cannot just edit the config here.
I have a few hard drives that I connect to my system with an usb to ide cord. some of the drives mount right away but some others don't below example.
Oct 24 11:10:04 linux-b21t kernel: usb 1-3: new high speed USB device using ehci_hcd and address 14 Oct 24 11:10:04 linux-b21t kernel: usb 1-3: configuration #1 chosen from 1 choice Oct 24 11:10:04 linux-b21t kernel: scsi15 : SCSI emulation for USB Mass Storage devices Oct 24 11:10:04 linux-b21t kernel: usb-storage: device found at 14
There is a question I cannot find answer to.Should hard drives be mounted in the computer's case hard (screwed to wall) or soft (suspended by means of rubber washers)? And the same question about DVD drive which vibrates far more than a hard drive.
I know this is an easy task, especially using cPanel. However I want to do this without formatting the drive, since there is sensitive data already on the hard drives. So how would I mount a hard drive, but not format/lose any of the data already on it?I've looked and everything seems to lead me to believe that I'll lose data if I do it that way.
I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?
I've been struggling with this one for a while - I have three SATA hard drives installed on my system: /dev/sda - an 80 GB disk with three partitions, one NTFS for WinXP, one ext4 for Fedora 11 x86_64, and a boot partition /dev/sdb - a 250 GB disk with one partition, ext4 /dev/sdc - a 250 GB disk with one partition, ntfs
I can mount any partition on /dev/sda without problems - everything works exactly as expected. Attempting to mount a partition from one of the other disks results in something like the following (this is for sdc1):
Code: [User@machine ~]$ sudo mount -t ntfs /dev/sdc1 /mnt/shared [sudo] password for User: ntfs-3g: Failed to access volume '/dev/sdc1': No such file or directory ntfs-3g 2009.11.14 integrated FUSE 27 - Third Generation NTFS Driver XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy Copyright (C) 2006-2009 Szabolcs Szakacsits Copyright (C) 2007-2009 Jean-Pierre Andre Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point> Options: ro (read-only mount), remove_hiberfile, uid=, gid=, umask=, fmask=, dmask=, streams_interface=. Please see the details in the manual (type: man ntfs-3g). Example: ntfs-3g /dev/sda1 /mnt/windows Ntfs-3g news, support and information: http://ntfs-3g.org The /mnt/shared directory is created; the failed to access error is related to the disk.
Here is the output from fdisk: Code: [User@machine ~]$ sudo fdisk -l Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0f970f96
Device Boot Start End Blocks Id System /dev/sdb1 1 30401 244196001 8e Linux LVM Disk /dev/sdc: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x1050104f
Device Boot Start End Blocks Id System /dev/sdc1 1 30401 244196001 7 HPFS/NTFS Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x8e538e53
Device Boot Start End Blocks Id System /dev/sda1 1 6375 51200000 7 HPFS/NTFS /dev/sda2 * 6375 6400 204800 83 Linux /dev/sda3 6400 9729 26743361 8e Linux LVM
Disk /dev/dm-0: 21.4 GB, 21428699136 bytes 255 heads, 63 sectors/track, 2605 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 5955 MB, 5955911680 bytes 255 heads, 63 sectors/track, 724 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Disk /dev/dm-2: 250.0 GB, 250059348992 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0f970f96
Device Boot Start End Blocks Id System /dev/dm-2p1 1 30401 244196001 8e Linux LVM Disk /dev/dm-3: 250.0 GB, 250056705024 bytes 255 heads, 63 sectors/track, 30400 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-3 doesn't contain a valid partition table
And also from blkid (this does not match the output from above - but I don't know if this is actually related to the problem or how to fix it): Code: [User@machine ~]$ sudo blkid /dev/sda1: UUID="506412E06412C91C" TYPE="ntfs" /dev/sda2: UUID="811bf259-33d5-4db2-9851-e93b47dcbcc8" SEC_TYPE="ext2" TYPE="ext3" /dev/sda3: UUID="U3AJLH-Lhm1-b0lf-HDX9-ZK1V-ezqU-sb0YGQ" TYPE="lvm2pv" /dev/dm-0: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4" /dev/dm-1: TYPE="swap" /dev/mapper/vg_machine-lv_root: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4" /dev/mapper/vg_machine-lv_swap: TYPE="swap"
I have brought an ipod of my friends with a lot of movies and i was then running on windows. The Whole sys was infected and I reloaded the windows operating system but it worked fine only upto two restarts. Then I started and completely successfully installed fedora core 10 i386. I Have very much important information in the windows hard drives. Please tell me anyone how to mount these partitions from the beginning.
syslog, messages and kern.log are incredibly huge files that are taking up a lot of space on my hard drive. Is it safe to remove them and/or to reduce logging so it doesn't take such an enormous amount of hard disk memory? If so, how can I reduce the logging so it doesn't produce logs that are 10s of GB in size?Also, mounting a drive places it into the folder /media. Will it become problematic if the size of the mounted drive exceeds the amount of free space available on my Ubuntu partition?
I have two internal partitions that I auto-mount at startup using fstab. This works fine & I can unmount/mount as a normal user no problem in the terminal (umount /dev/sdb1) but using thunar (or nautilus) I receive a message saying "not authorised to perform operation" (I use the DWM window manager, in gnome it pops up with a password prompt).
If I open thunar as root then I can mount/unmount.
The strange thing is I can mount/unmount usb sticks or mtp devices as a normal user no probs from thunar! So, I'm assuming it must be my fstab that's the problem?
Is there a way that I can get Dolphin to mount partitions? When I try to, it gives me an error on the bottom of the window saying I don't have permission to. I also can't mount partitions in other programs like Amarok, because of the same issue.
Error Message: An error occurred while accessing 'Windows 7', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freeDesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)
my opensuse is not auto mounting USB drives anymore. It was working a few weeks ago! I have an external 500GB HDD and also an 16GB Kingston USB flash disk, both are not being auto mounted.If i do lsusb i get
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 006: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I have a D-Link DNS-323 network drive which mounts at multiple points to my filesystem when booting. I had to make some fstab changes when I upgraded from 11.2->11.3 last year, and now the same thing seems to be happening since I've upgraded to 11.4. When I login to my profile the desktop hangs and no icons appear. I cannot open a Nautilus window, or access ALT-F2, however just about every other program works fine. Since I disabled the fstab lines (slightly modified when copied here to generalize):
I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?
Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?
I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:
1. Download cifs-mount-3.4.2-126.96.36.199.x86_64.rpm from this repository (I use 64 bit): "http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/" 2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin 3. Make them setuid root:
Code: linux-y5qw:~ # chmod u+s /sbin/mount.cifs linux-y5qw:~ # chmod u+s /sbin/umount.cifs 4. Mount your cifs shares as a normal user:
When my husband and I installed Open SuSE 11.2, we made the mistake of telling it to have my other 2 hard drives owned by root. So now, whenever I want to open my other 2 hard drives, I have to type in the root password. How can I change this?
Recently I noted that when transferring files between my HDs the CPU usage increases up to 80~ 100%. After the transfer ends, the cpu goes back to normal. The system monitor reports no process consuming those cycles, yet there is something eating up The CPU.
Doing some research I concluded it was probably something related to DMA and UDMA. which is weird because all my drives report they have UDMA6 enabled in the BIOS, and in windows I don't have that problem.
Running hdparm -d gives me the following error: /dev/sda3: HDIO_GET_DMA failed: Inappropriate ioctl for device for every partition on every device, though this does not actually tell if DMA is on or off I suspect it is off. I checked if this was a suse exclusive problem, and to my surprise, debian and aptosid, behave exactly the same. The only reason I didnt note before is cause I had never transfered so many files before, (about 250GB) and the small transfers I did were over quite quick.
I'd like to make emphasis on:
1.The problem is the same regardless if I transfer 5GB or 150. 2. In windows my cpu does not go above 10% at any time during the transfer.
I have 3 sata HDs. All my OS's are in sda (120GB) I use sdb (250GB) and sdc (500GB) as data and media storage. ALl drives are Western Digital with less than 2 years of usage, and pass all smart tests with flying colors.
CPu AMD x2 5400 @ 2.8GHz 4GB DDR2 800MHZ Mother board A780G M2+ SE
I have booted up from openSUSE 11.3 on a USB stick. When i go into Dolphin (the file explorer) and try to open a harddrive, I get the error:
Code: An error occurred while accessing 'MyHardDrive', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action,result)
Is there a thread on the new Advanced Format standard? I'm reading that it's pointed at W7/Mac and I'm thinking Linux newbies (like me) should know in advance, before buying hard drives, what the state of OpenSuSE/kernel/drivers is. I never used to pay attention to hard drive numbers.
I have a dual boot system with OpenSUSE 11.3 and Windows XP. I would like to have OpenSUSE mount the windows drives (C,D,E) only when one particular user logs in, and not be accessible for the other users. I have tried playing with the fstab options (do not mount at startup + user can mount, creating a new user group 'mounters' and replacing the 'users' in th the fstab line with 'mounters' etc.) but this is not doing what I want.
I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data
I did a zypper dup upgrade from 11.3 to 11.4 with no errors. My shutdown command has always been halt -h and during shutdown, I would always see verbose info about the drives being umounted, the "term" signal being sent, and the "kill" signal being sent. Since the upgrade, I only see the "term" signal being sent, followed by shutdown. On every boot since the upgrade, the system goes through several hundred lines of file repairing as the file system is not clean after shutdown. For whatever reason, the hard drives are apparently being killed before the umount is complete. I have changed no settings. The problem exists whether I do a shutdown from the KDE menu, or run halt -h as su from a terminal.
I'm getting failures of ehci_hcd at random times when trying to copy files between USB2 hard disks on my new installation of OpenSUSE 11.4 on my new i7 machine. Kernel version is 2.6.37-0.5-desktop, x86_64. The error is very repeatable but happens at random times, not associated with any particular disk sector or file etc.It's becoming very annoying as it is causing files on my drives to become corrupted if they are open when the error occurs.
I have two USB2 hard drives plugged in, and I'm trying to copy files from one to the other either via terminal or nautilus. The symptom of the failure is that all USB devices on the root hub of those drives will suddenly disappear in the middle of a file transfer. This includes the KB & mouse , so I lose every USB device on the same root hub at once.
If the keyboard is on a separate root hub I can retain control of the PC. In this case, lsusb shows that the root hub to which the drives were connected has vanished - not just the drive itself. The whole root hub is gone. I have confirmed that it is NOT a problem with the drives themselves, because
(a) I have tried many different drives, of different brands, and they all do it,
(b) all my drives work flawlessly under Windows 7 and
(c) this never happened under my old OpenSUSE 11.2 on my old x86_64 core2 duo PC with the same hard drives.
They are all NTFS formatted and I use NTFS-3g to write to them. I don't have a choice about the NTFS, since they bring data from other Windows PCs. I'd much prefer to be on ext3, but what can you do. The root cause of the problem is that the ehci_hcd module is failing at a low level. It's not the NTFS-3g driver, by the looks of things. I have no idea how to fix this. I don't think it's a problem with my USB2 drives going to sleep mode because it happens in the middle of a file copy operation!
/var/log/messages output follows... /var/log/messages shows these kinds of errors at the leadup to a failure. Nothing suspicious appears until we suddenly see this:
kernel: [ 505.042722] hub 1-1:1.0: cannot reset port 3 (err = -110) ... same message repeated 4 times ... kernel: [ 509.075401] hub 1-1:1.0: Cannot enable port 3. Maybe the USB cable is bad? kernel: [ 509.083593] hub 1-1:1.0 cannot disable port 3 (err = -110)
NTFS-3g then unmounts ALL the drives on that root hub and everything falls in a heap as all I/O operations and every device on that hub fails in sequence.
there is a way to mount, encrypted partitions as a normal user and not as root so that i may copy files into it using the file manager itself? even in the case of normal partitions other than /home, i can't seem add any data in them. the mount points i used are seperate directories within the /home partition?? also, is there a way to create partitions in such a way that it can be accessed, just as how windows partitions are accessed in linux?