OpenSUSE Hardware :: Label USB Stick So It Will Mount At Unique Points?
Mar 1, 2010
I have a few generic USB sticks lying around, and a few more SD/microSD chips that I use with openSUSE. Is there any way to label/ID them so they mount at unique points in /media, so I don't blast one accidentally? In mkfs.vfat there is a "-n volume-name" that looks promising, but I can't find a way to set that after the mkfs.
- After a hardrive crash which took out my opensuse 11.2, I installed three new harddrives instead of the old ones. I have installed xp. To see of I could triple boot, i thereafter put in linux mint. I did not like that and installed opensuse 11.3 - to ensure it would place itself on the two second harddrives (formatted in ntfs and with some data on) i before installation took those cables off.. And now alas.. there are no mount points.
So I tried yast, and found the partitioner, chose edit tried to put mount points .. however.. nothing seemed to have happened...
Since I installed 11.3 I have noticed the /srv and /local mount points are empty! I also can no longer see my hard drives that have no mount points. I couldn't mount any hot plug media either but now have that fixed. I won't go into the mess I have with my video card and getting the x server started....
I did have Xampp installed to /srv/www but don't even know where it is now!
I had no problems with this in 11.1 until a month ago when I updated and it seemed to keep losing the permissions for these drives as once I accessed them via Dolphin they would be accessible. Now they are not even visible in a file manager!
When I installed OpenSuse 11.2 it mounted I configured to mount all of my windows/NTFS partition. However, one problem is that only root can write to it. I was trying to change it to '777' permission. However, as root I can't change permission. chmod doesn't work and neither does using nautilus (as root) work.I even tried unmounting it and then doing a chmod. That didn't work either.
I have a requirement that seems to be unique in nature. I have multiple clients who are caged to their home directories. I would like to "share" a directory which exists above these chroots with all these caged users. I know this can be accomplished using mounts but my problem is, how can I mount a single directory to multiple mount points located in each users home dir? Can this be done in the fstab file?
Although I can perfectly mount any usb device (stick or disc) as being root, as a user I am not allowed to perform any such action! I have modified the corresponding fstab entry to look like:
Code: usbfs /proc/bus/usb usbfs noauto,user 0 0 and I have also made sure that the user is a member of the disk group, but without any luck. My system is OpenSuSE 11.2 (with KDE 4.4, but the problem is the same regardless I am attempting to mount the usb device via the GUI or through the text (c/k)onsole).
want to create a iSCSI connection which mounts /home directory to a share on my NAS via iSCSI. Does anyone know if this is possible on a RHEL 5.4 machine? I am building the server from scratch and then creating the iSCSI mount point in /etc/fstab. After the /home directory is mounted on the mail server, I will copy all the mailboxes over to the /home directory via iSCSI.
When I plug in a USB in Lucid, it gets mounted at /media/usb0 , etc. I'd like it to mount as /media/<volumelabel>. I know HAL is gone and things have changed, but I'd like to still have the USB mounted at /media/<volumelabel> as it used to, as I got scripts that use those mount points.
When I insert an SD card in the reader, slackware creates a mount point and mounts my card volumes. On unmounting the volumes, the mount point vanishes. How do I achieve this manually?When I attempt to mount a volume using the mount command, the mount point folder must exist and the folder does not vanish on umount. Is there a way to create a mount point if it does not exist? and ensure that the folders vanish on umounting?
figure out the best partition layout for my linux installation which I'm about to have on my laptop. Having read numerous articles on partitioning in linux I've gathered some ideas, still there was no let's say a clear explanation as to the sequence the mount points should be arranged on the disc...What I have in mind is to use a single disc space as efficiently as possible considering the head travel. The pc is a laptop, 160GB HDD and will be used as a normal desktop with some simple sound processing. Distro Linux Mint 10. I'm planning to have such partitions and all will come after a Win7 installation:
/boot -> some write it's not necessary in dual-booting, some that it's good to have for security swap -> with 4GB of RAM i don't suppose i'll use it /
have the most heavily utilised partitions close to each other so the head doesn't move for large distances. The placement also makes a difference as the closer to the inner rim of the disc the worse performance. I'm also not sure about the sizes. Read posts with recommendations but still judging by installations on a different laptop and virtual machine e.g. 5GB for /opt is a bit too much as there's almost nothing in there. Certainly /usr fills up, /var too from what I've observed. / also has scarce data in it so I'm wondering if giving them e.g. 5 gigs each won't be a waste of space resulting in greater head travel.
I need a guicance related to mounting USB stick of 2GB capacity. Normally when I insert my USB stick it mount automatically and show me.I want that instead the usb mount automatically I manually mount it. Now there are two steps to do it. First How to stop USB to mount automatically ? Second How to mount it manually ?
I'll start a fresh installation of a debian stable server and I would like to use LVM on this. So, I started to read lots of documents about LVM and found different flavors on partitioning with it. I'm thinking in a partition schema which might use LVM for those mount points that tends to grow in time, for instance:
If /mnt & /media are for temporary mount points and removable drives, what is the usual convention for locating permanently mounted partitions for all users on the computer? e.g. I have a partition for photographs, I'll just call it "photos" would it be bad form to mount it as /photos or something like /my_hdd/photos ?In practice it probably won't matter, but I want to make sure it's easy for anyone else to perform admin tasks on the computer when I'm not available.
Ubuntu 9.10. I have a problem - when I mount other partitions of my hdd or the system automounts usb disks these are mounted in /media directory with permissions 0700. So there are two problems there: - When I switch user on my desktop to another that user can't read data from the usb disks - I can't share data through network because smbd doesnot have read permissions on the created mount points
I think editing /etc/fstab is wrong way, there would be more right way to change permissions on mount point. I tried to change/add parameters umask, allow_other in gconf-editor (/system/storage/default_options, subsections vfat and ntfs-3g) but that does not show any results. Article [URL] recommends Open Places → Computer. Every volume except the generic File system one should have a Drive and Volume tab in its properties dialog where you can set mount options. But I did not find those tabs. Where should I set option to mount usb disks with permissions rwx for every user of my system?
why I'd be receiving this error. I have created a partition and filesystem and put the label in fstab. Everytime I reboot the server it is unable to mount the filesystem. However I am able to mount it manually.
I have figured out manually setting the swap partition and setting "/" as the mount point for the primary partition during install. If during install, I want to create another partition to keep the OS separate from installed programs and such, to be able to do a clean install every 6 months and not loose everything (or anything) I have done prior.
I am having trouble with the advanced partitioning, I dont know what any of the mount points are for. I have a 64GB SSD which I want to use only for the boot files, and I have a 640GB which I want to place everything else on, as to preserve the life of the SSD. How should I configure my mount points/partitions in the ubuntu 11.04 installer?
I have an Ubuntu 11.04 laptop that I use to connect to a Windows 7 server. Everything was working fine until the hard drive on the server crashed and it was replaced with a backup. Now I intermittently lose access to the shares with Nautilus giving me the following message:
"The folder contents could not be displayed.You do not have the permissions necessary to view the contents of Folder"
When I look at the mount points in terminal I see the following:
Sometimes the permissions will revert back by themselves, sometimes I need to umount and mount to get back in.I have tried deleting and recreating the mount points. No change.It is driving me up the wall, I have tried everything I can think of, installing/uninstalling winbind, the fuse modules etc etc. I use this machine as a production machine in a heterogeneous environment and everything works awesomely except for this. I love Ubuntu, I can't even think of booting Windoze these days but not being able to access the network shares is a right show-stopper for me.
I'm fuming about this again after doing my third install of 11.04, this time on one of my laptops. Why was the ability to edit mount points taken away in the 11.04 "Allocate Drive Space" portion of the custom install? In earlier versions, you could choose a mount point in the file system from a drop down (i.e. mount this partition as /, or /home, or /opt, etc.). You could also enter your own location to suit your needs. This allowed me to do tricks like mount my home partition under /media/home, to prevent my settings being clobbered by the installer (later, after integrating the settings created by the installer with the settings in my home directory, I could edit fstab to mount the home partition in its rightful /home location). Or to put my windows partitions under /media/WinXP or put my old Linux parition under /media/oldlinux. I could do whatever I want. Now, I have limited options. I can only choose a location from the drop-down. I cannot edit it. Want to mount a partition under /media/home? Tough. Want to mount Window under /media? Nope. Can't. Instead, if I select an ntfs partition, I only get the choice of mounting it under /dos or /windows. WTF do I do if I have three windows partitions (like I do on my desktop)?
Listen, if I'm doing a custom install, and I know enough to partition my drive, don't you imagine I don't need the mount point option dumbed down for me? If I've gotten to this point, I obviously know what I'm doing (or, if I don't, I'm already screwed bcuase I'll probably nuke a partition that I want to keep)limiting my choices here is stupid. I know, I can clean this up afterwards by editing fstab or using some other tool but my question is, why should I have to? What's the logic in removing this options from the user?
I created some .tar.gz archives, and later discovered that the archives include their mount points and drives as empty folders. How can I avoid that happening in the future? I suppose I did something wrong when creating the archives. I mean, what is the point of the archives having empty folders that represent the mount points and drives of the archived data?
I have a database with x number of files (192 at the moment, but will vary from time to time). I am going to copy these files to another location on the same server thorugh shell script. Problem with total size of 192 files is approx 900 GB (again this will vary from time to time).
My shell script should calculate the free space available at present in the server on each of the mount point (can be filled till it reaches 95%). Always 5% free space should be available free for future growth.
After calculating, it should prepare another flat file with following details:
We have a program that catalogs to 40 different mount points. The program is fine as long as thier is free space on at least one of the 40 mount points. My boss wants me to come up with a script that will email us daily to know how much overall free space is left. I know I can do a df but I don't know how to combine the 40 mount points into a single disk used/disk free report.
The 40 mount points are /dev/mapper/areaxx, xx being 01 to 40.