Browsing articles tagged with "mount - Admins Goodies"
Jan 16, 2013
tom

vsftpd can’t upload to mounted directory

I have read many, many help pages today trying to fix this, and I’m still nowhere closer. vsftpd config file: anonymous_enable=NO local_enable=YES write_enable=YES cmds_allowed=PASV,SIZE,CWD,PWD,MKD,RMD,STOR,DELE,TYPE,RETR,LIST,QUIT local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES listen=YES pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES I can connect and upload to the user’s home directory fine. However my www directory is also mounted in there, and while I can browse it, I cannot upload. [15:36:27] [R] STOR favicon.gif [15:36:27] [R] 553 Could not create file. [15:36:27] [R] [...]

Continue Reading »
Jan 1, 2013
tom

How to mount USB on ESXi 4.1?

This is what I tried but it doesn’t work : Connect with SSH # /etc/init.d/usbarbitrator stop # fdisk -l |grep Disk Disk /dev/disks/mpx.vmhba40:C0:T0:L0: 4022 MB, 4022337024 bytes # ls /dev/disks/mpx.vmhba40:C0:T0:L0* /dev/disks/mpx.vmhba40:C0:T0:L0 /dev/disks/mpx.vmhba40:C0:T0:L0:4 # mkdir /mnt/usb # mount /dev/disks/mpx.vmhba40:C0:T0:L0 /mnt/usb mount: mounting /dev/disks/mpx.vmhba40:C0:T0:L0 on /mnt/usb failed: No such file or directory Also tried with /dev/disks/mpx.vmhba40:C0:T0:L0:4, with /mnt/usb/, always the same error message. Then I checked # ls -l /vmfs/volumes, but it wasn’t there either The version [...]

Continue Reading »
Nov 22, 2012
tom

Mount a partition to two mount points

I have a partition called sda4. And I want to store the mysql data and xml files on that partition because the partition which mysql and domain are installed has little space. So I’m planning to have two subfolders under the sda4, one for mysql and one for xml. Then I want to mount the subfolders respectively like this: mount -t auto /dev/sda4/mysql /var/lib/mysqlmount -t auto /dev/sda4/xml /home/user/domain/public_html/xml Is my plan doable? Can mount a [...]

Continue Reading »
Aug 14, 2012
tom

Increase size of mount point

I created an EBS volume (100GB) from a snapshot (10GB), but when I attach the volume to an instance and mount it as /vol, then I check with df -h, I see that /vol has size of 10GB although it’s a 100GB disk. What’s wrong with my procedure ? Thank you! Asked by Med The volume is 100GB, but the filesystem is still only 10GB. You need to grow/expand the filesystem to fill the rest [...]

Continue Reading »
Jun 12, 2012
tom

Mount ext3 from remote Windows machine (XP/Vista/7) through ssh?

Is it possible to mount external ext3 network drive from Windows through ssh/sftp ? I would like to avoid samba/cifs. Asked by Fedir Two things that aren’t Samba come to mind: NFS, via Client Services for NFS for Windows (see this HOWTO) ExpanDrive, formerly known as SFTPDrive There’s also the brilliant “sort of VPN over SSH” solution sshuttle, if you have a Linux-ish gateway on the remote network. Answered by Andrew Check more discussion of [...]

Continue Reading »
May 29, 2012
tom

Change Hard Drive Mounted Location Debian

I just realized my hard drive is mounted to the wrong directory, how many I change the directory in which it is mounted? Thanks! Asked by Belgin Fish Edit the “/etc/fstab”file (as root). The syntax is: /your/device /dir/where/mounted <type> <opts> <dump/pass> You just need to fix the “/dir/where/mounted”, and reboot. Or you can do it manually (after reboot, fstab will be read, and mounted ‘wrongly’ again): umount /your/wrong/dir mount /dev/yourdiskXY /your/right/dir Answered by mulaz Check [...]

Continue Reading »
May 28, 2012
tom

Linux. Different backup drive each week to same mount point

We have an external drive that our server backs up to nightly. It is mounted to /snapshots. We are planning to swap this disk out each week. The problem is that one drive comes up as /dev/sdc and the other as /dev/sdd. In the fstab the mount is set to /dev/sdc. Before backing up a scripts runs to mount /snapshots which gets its mount point from fstab. How can I get it to mount /dev/sdc [...]

Continue Reading »
May 16, 2012
tom

How to set up sshfs to use www-data

I have 2 Debian systems, prod1 and prod2, with their respective users, prod1 and prod2 as well. I want to setup an sshfs with autofs to have a directory on prod1 in the /home/prod1/ that the user www-data could use independently on one server or the other. I want the owner of the content to be www-data. I want to use ssh from the prod2 user to prod1 user, not directly www-data. How would I [...]

Continue Reading »
May 8, 2012
tom

Centos – fstab – mount keeps changing

I’ve had this linux machine running for a few years now, no problems etc. Very happy. Last night I did some updates and when I booted up this morning my dual screens were screwy so I updated the Nvidea driver with NVIDIA-Linux-x86_64-295.49.run the machine is running Linux workstation.localdomain 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 23:56:34 BST 2012 x86_64 x86_64 x86_64 GNU/Linux The above is the only significant change. I have an additional hard drive that [...]

Continue Reading »
Apr 30, 2012
tom

Improving SSHFS performance when reflecting changes in host directory

I have an SSHFS mount from a Ubuntu Server VM guest, mounting a host Mac OS X directory. Changes made directly in the Mac OS X host directory take approx 5 – 10 seconds to reflect in the Ubuntu Server VM guest mount. I am using the following command… sshfs user@host: ~/host What additional options (if any) will improve this latency? Asked by m.p.c SSH is not designed to be a file transfer protocol. SSHFS [...]

Continue Reading »
Pages:1234567...20»