Tmpfs issues
Hey, every app I try to install with packer, aurget or yaourt fails due to 'No space left on device'
It's a fresh install of Arch but I've noticed this:
tmpfs 493M 493M 0 100% /tmp
this of course empties with a reboot.
here is my hard drive breakdown:
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
run 10M 196K 9.9M 2% /run
/dev/disk/by-uuid/bc1f3be6-216f-4721-abda-eeb3e092bdbf 30G 5.1G 25G 18% /
shm 493M 4.4M 489M 1% /dev/shm
tmpfs 493M 493M 0 100% /tmp
/dev/sda4 45G 363M 45G 1% /home
/dev/sda1 198M 17M 171M 9% /boot
I've never had this issue before.
also get this message trying to install the rt kernels:
bsdtar: Error exit delayed from previous errors.
yet it works on my other pc... both new installs..
Last edited by funkmuscle (2011-08-21 02:01:47)
Forgive me if I've missed the answer in any of the several threads on this topic, on the arch-dev-public mailing list and in the linux-docs information on tmpfs, but I haven't figured out what the reason is for recommending mounting /tmp as tmpfs instead of as a hard drive mount. It sounds like from the discussions on the forum that several people (R00KIE being one) recommend leaving /tmp mounted on the hard drive. I understand the mechanics of the change (and have implemented it with no ill effects on all my Arch machines), just not the reasoning behind it.
For a "typical" older machine with 1-2GB RAM and "typical" internet/email/office usage it sounds like tmpfs would be fine. What other 'gotchas' should we look for that might lead us to leave /tmp assigned to our hard drives instead?
Thanks!
Scott
Similar Messages
-
Special device does not exist, FSTAB Issue
I set up this arch64 install last night, and till now I've managed all right except for one niggling issue. For some odd reason, when I installed everything I forgot to add my "sandbox" partition in Fstab. I thought I could just generate a UUID then add a line to Fstab later, and I did just that. However, as its not part of my LVM, I'm wondering if thats why I cannot mount my sandbox partition from Fstab. Ideas appreciated.
My fdisk -l output:
[root@acer ~]# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x379c7acb
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 6428 51528487+ 5 Extended
/dev/sda3 6429 14593 65585362+ 8e Linux LVM
/dev/sda5 14 6428 51528456 83 Linux
Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
221 heads, 20 sectors/track, 3521 cylinders
Units = cylinders of 4420 * 512 = 2263040 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2 3522 7778304 b W95 FAT32
Fstab as it stands now -
/etc/fstab: static file system information
(cut out irrelevant lines about tmpfs & commented out optical devices)
/dev/mapper/vg0-lv_home /home ext3 defaults,noatime 0 1
/dev/mapper/vg0-lv_root / ext3 defaults,noatime 0 1
/dev/mapper/vg0-lv_swap swap swap defaults,noatime 0 0
/dev/mapper/vg0-lv_var /var ext3 defaults,noatime 0 1
UUID=a7d625c6-0fb9-41f5-bdba-6d306c90739a /boot ext2 defaults 0 1
UUID=a802d8f4-f70e-4ed5-ab72-65bb0ebdca9b /media/sandbox ext3 defaults,users,noatime 1 2
## Memory card at /dev/mmcblk0p1 /media/memorycard
UUID=238db34b-8bf3-4510-b8ee-1aa46e04f17d /media/memorycard vfat defaults,users,noauto,noatime 0 0
The error I get when I issue a "mount -a" as root or just let the computer boot up with the "sandbox" in fstab -
mount: special device UUID=a802d8f4-f70e-4ed5-ab72-65bb0ebdca9b does not existHaving the same problem with flash memory set as /dev/sdb1. It refuses to mount claiming the device doesn't exist.
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda2 / reiserfs defaults,noatime 0 1
/dev/sda1 /boot ext2 defaults,noatime 0 1
/dev/sda3 swap swap defaults 0 0
/dev/sdb1 /media/flash auto ro,user,noauto,unhide 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
P.S.
Yuuhuuuuu post #600 -
Oracle VM Server 3.1.1 issues with NFS share
Hi guys
I am kind of stuck with the same issue for more than a week now. I have two virtual machines on Virtual box 4.1.8 (VM Server and VM Manager 3.1.1) and NFS following is disk/mount information on VM Server
[root@oravms ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 3.0G 636M 2.2G 23% /
/dev/sda1 99M 28M 67M 29% /boot
tmpfs 242M 16K 242M 1% /dev/shm
/dev/sdb1 296G 17G 264G 6% /storage1
/dev/sdc1 197G 320M 187G 1% /storage2
none 242M 40K 242M 1% /var/lib/xenstored
192.168.0.20:/storage2
197G 320M 187G 1% /nfsmnt/cc745331-3df1-48d7-823c-b28faf2d87b3
/dev/mapper/ovspoolfs
10G 263M 9.8G 3% /poolfsmnt/0004fb00000500005e689e9b4de9382f
192.168.0.20:/storage1
296G 17G 264G 6% /OVS/Repositories/0004fb0000030000e19fce4b38346de1From last whole week I am trying to import a single VM template as a test object, Oracle E-Business suite 12.1.3 APPS tier and everytime once after a certain portion of the template unpacked, the VM server goes for a toast!! it either reboots or the NFS gets into a lock
Both the virtual machines have 4GB memory, independant NICs dedicated for each virtual machine (as somebody else from forums suggested for it...)
Please help me!!!
regards,
rajhi user12273962
I hope the following few details will assist you to provide me a suggestion to overcome this issue
My Oracle VM server IP address: 192.168.0.20
VM Manager IP: 192.168.0.23
Both machines are tied to different NICs for avoiding excess traffic
df -h on VM server
[root@oravms ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 3.0G 636M 2.2G 23% /
/dev/sda1 99M 28M 67M 29% /boot
tmpfs 242M 16K 242M 1% /dev/shm
/dev/sdb1 296G 191M 281G 1% /storage1
/dev/sdc1 197G 320M 187G 1% /storage2
none 242M 40K 242M 1% /var/lib/xenstored
192.168.0.20:/storage2
197G 320M 187G 1% /nfsmnt/cc745331-3df1-48d7-823c-b28faf2d87b3
/dev/mapper/ovspoolfs
10G 263M 9.8G 3% /poolfsmnt/0004fb00000500005e689e9b4de9382f
192.168.0.20:/storage1
296G 191M 281G 1% /OVS/Repositories/0004fb0000030000e19fce4b38346de1/etc/fstab output
/dev/sdb1 /storage1 ext3 defaults 1 2
/dev/sdc1 /storage2 ext3 defaults 1 2/etc/exports output
/storage1 192.168.0.20(rw,sync,no_root_squash,nohide)
/storage2 192.168.0.20(rw,sync,no_root_squash,nohide)Should I export the mount points to another server? Please let me know.
NFS was the only one file type recognized by the discovery process...I am quite new to virtualization, actually spent last whole week trying and fixing one or other issue with the VM server :D
If you know how I could avoid NFS in the entire scenario (as this is just for learning purpose) I would be grateful :)
regards,
raj -
I have a problem with hibernate script. This is what happens:
1. I run dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
2. System hibernates nicely and quickly.
3. I power the computer back on
4. System resumes nicely (%s goes really fast)
5. Instead of desktop, I see black screen with blinking "_" sign in the top left corner.
At this point I have to hard-reset the computer.Lockheed wrote:
1. Because that's the Arch wiki way.
2. Because
s2disk: Could not mount tmpfs on /proc/16203. Reason: Operation not permitted
You mean the arch wiki article that's flagged as poorly written?
FWIW I've always used pm-utils, also the Arch Wiki way, and I've had few issues. Basically, you just add the resume path to /boot/grub/menu.lst and then run:
# pm-hibernate
Last edited by thayer (2011-05-14 15:08:05) -
[SOLVED] File name encoding issue
Hi all,
I have a large series of files with accented characters, they were all displayed nicely, but at some point, when I copied them to another computer, the characters were replaced by codes, for instance: "ó" --> "ó".
+Renaming ie. "Pasó" (bad encoding of "Pasó") --> Pasó, while writing it, it shows the correct character, but when pressing enter the name remains ("Pasó")
+If I rename the file to something else and then to the correct name, it will accept it: Pasó --> Pas --> Pasó will display correctly.
I don't know if it's a system wide encoding issue because new files are displayed correctly, but I would like to know if I have to change file names manually to make them right.
PS. When copying bad encoded files to another FS (like a USB drive), nautilus and bash refuse to copy them.
Last edited by Wasser (2012-09-17 21:10:52)My fstab:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# /dev/sda2 LABEL=ROOT
UUID=d2243d9c-b8e7-442a-8446-5a43a4d9221b / ext4 rw,relatime,data=ordered 0 1
# /dev/sda5 LABEL=HOME
UUID=e67f5cfa-3ec3-4c06-9c2c-62c4cc188ffe /home ext4 rw,relatime,data=ordered 0 2
# /dev/sda3 LABEL=VAR
UUID=caac4924-2a13-4c97-9926-668ac0595ba3 /var reiserfs rw,relatime 0 2
# /dev/sda1 LABEL=UEFI
UUID=1E70-6485 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sda4
UUID=14993c2e-4bc4-42e4-b2e5-9dbc286abb4c none swap defaults 0 0
Files in question are in /dev/sda5 (HOME)
Last edited by Wasser (2012-09-16 08:37:52) -
Cache-flush VM-related performance issue
Dear forum,
I've got a peculiar performance issue going on with the BDB pagecache being flushed to disk. I've managed to reproduce the issue perfectly on three out of three quite different systems that I've tried on, so it is at least quite well-defined.
My usage pattern for the database in question is such that I periodically (perhaps once every 10-60 seconds or so) need to read through an amount of values (around 500-2000 or so) from a database containing a rather large amount (in the millions, at least) of keys. There are a few writes for every such batch, but not very many (a couple of tens). The keys that are read each batch are quite random, and very likely to be completely different from batch to batch. The database is a DB_HASH.
When I do that, BDB seems to dirty a lot of pages in the page cache (which I have currently sized at 512 MB so that pages don't have to be forced out from it), from what I can tell by manipulating refcounts and stuff, so all in all, a single batch seems to dirty some 10-40 MB or so of the mmapped cache region. (I check this using pmap -x on Linux.) Note that when I speak of pages and the dirtying of them here, I mean at the VM level, not the BDB level.
A while after this has happened, the VM comes around and wants to flush the dirty pages to disk, so it batches writes of large portions (often the entire set of dirty pages, but sometimes it only does 10-20 MB or so at a time; this detail shouldn't matter) of the dirtied pages to the backing block device. Since the dirty pages are often rather interspersed in the region file, such a flush usually requires a couple of thousands of write ops, so it might sometimes take up to 10-20 seconds for the requests to complete.
If the program, then, again tries to dirty any of the pages while they are waiting to be flushed, which is often the case, the VM will block it until the page in question is flushed. This means that the thread in question might very well be blocked for up to 20 seconds, causing quite annoying wait times.
How to deal with this problem? I've considered trying to put the region files on tmpfs or so, but that seems like such an excessive measure for a problem which, from what I can tell, should be commonplace.
On a very related note, I've noticed a large discrepancy in the I/O performance between the systems I've tried this on. Two of the systems in question manage to carry out some 200-500 write ops per second on my test load, while the third manages closer to 2000-3000 write ops per second, which makes quite a difference. What makes it very weird is that the faster system uses the exact same hard drive as one of the slower systems. I know this isn't exactly a BDB-specific question, but I thought someone around here might have experience in the matter. All three systems use Linux and S-ATA hard disks (not SSDs), but they use different S-ATA host adapters, different kernel versions and are configured in quite different ways.
Thanks for reading my wall of text! I'm sorry for dragging on so long, but I didn't know how to describe the situation more briefly.
Edited by: Dolda2000 on Mar 23, 2013 8:08 AMAs a follow-up on this, it appears that the blocking behavior was introduced in Linux 3.0 to stabilize pages under writeback:
http://lwn.net/Articles/486311/
It seems that the commits that introduced the behavior can be safely patched away, and also that it is due to change in 3.9, but for now, this is not the route I took to solve it.
Rather, I wrote a patch to Berkeley DB to allow me to store the region files in another directory than the environment root directory, and used it to store them in /dev/shm -- that is, on tmpfs, which avoids writeback of the region files altogether.
If you want the patch, it is here for db4.8 (which what Debian Stable uses), and here for 5.1, which is what Debian Testing uses.
(For some reason, the hyperlink format suggested by the forum doesn't seem to be working?) -
Oracle VM Server 2.1 issue
Hello,
I am in the process of installation of OEL 5.3 on my oracle VM Server. I am following below link:
http://www.oracle.com/technology/obe/ovm/ovmel5pvmdb11gr1/ovmel5pvmdb11gr1.htm
I have completed first 14 steps successfully. In the "Creating a paravirtualized machine with Oracle Enterprise Linux 5" section i am at 4th point :
what is the install location? and i am giving nfs:192.168.1.2:/el/EL5-x86
but i am getting error of around 6-7 lines; which can'nt be copied and pasted here.
When i says nfs:localhost:/el/EL5-x86; the same error.
I have installed fresh oracle vm on this machine and ip configured by service-config-network for eth0. I am getting pint result fine (ping 192.168.1.2).
After reading the docs and other links, i am not able to proceed further, please help to resolve the issue.
RegardsHere are required information please:
Output of df -k command
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 3050092 3049672 0 100% /
/dev/hda1 101086 45804 50063 48% /boot
tmpfs 269912 0 269912 0% /dev/shm
/dev/hda3 73842688 3126784 70715904 5% /var/ovs/mount/6E611CE875D340ABA19A0860529FC5F6
Output of fdisk -l command
Device Boot Start End Block Id System
/dev/hda1 * 1 13 104391 Linux
/dev/hda2 14 405 3148740 Linux
/dev/hda3 406 9598 73842772+ Linux
/dev/hda4 9599 9729 1052257+ Extended
/dev/hda5 9599 9729 1052226 Linux swap / Solaris
Output of cat /etc/redhat-release command
Oravle VM server release 2.2.1
Output of uname -a command
Linux localhost.localdomain 2.6.18-128.2.1.4.25.el5xen #1 SMP Tue Mar 23 12:43:27 EDT 2010 i686 i686 i386 GNU/Linux
Output of env|more command
HOSTNAME=localhost.localdomain
TERM=linux
SHELL=/bin/bash
HISTSIZE=1000
USER=root
LS_COLORS=no=00:fi=.......... (Here it is long value)
MAIL=/var/spool/mail/root
PATH=/usr:/kerberos/sbin:...............(I did'nt anything with PATH environment variable, it is just when i installed VM server software)
INPUTRC=/etc/inputrc
PWD=/root
LANG=en_US.UTF-8
SHLVL=1
HOME=/root
LOGNAME=root
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/envPlease let me know, if you need more information. Please ignore, if i have posted unnecessary information.
Regards
Edited by: user12050217 on May 18, 2010 7:14 AM
Typo corrected. -
Ovm 3.3.1 lun issue
ok needing some help with an issue, i'm not sure what to do about..
have two hosts with dozen or so vm's running on
san storage already working with both hosts, with multipath.
added a new lun 500gb, can't get it added to host 2.
details of new lun:
pr-al-ovm02 LUN 205
205
Ready
RAID5
VP 02
500.000
SP A
PR-AL-LPSOVM2
60:06:01:60:7E:A0:21:00:9A:44:A9:12:CA:AA:E4:11
hosting server has been rebooted.
here are the commands i have tried so far:
[root@pr-al-ulpsovm2 scsi]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 50G 1.5G 46G 4% /
tmpfs 994M 0 994M 0% /dev/shm
/dev/sda1 477M 47M 401M 11% /boot
none 994M 176K 994M 1% /var/lib/xenstored
/dev/mapper/3600601607ea021009c41f0912643e411 100G 266M 100G 1% /poolfsmnt/0004fb0000050000539444abd803cf41
/dev/mapper/36003005701a64e701bad80050cb9fc6e 1.7T 1.2T 545G 68% /OVS/Repositories/0004fb00000300003890c07711bdd825
/dev/mapper/3600601607ea02100001dfe442643e411 1.4T 1.1T 292G 80% /OVS/Repositories/0004fb00000300001f53ffd22448ae55
[root@pr-al-ulpsovm2 scsi]# fdisk -l 2>/dev/null | egrep '^Disk' | egrep -v 'dm-' | wc -l
20
echo "1" > /sys/class/fc_host/host1/issue_lip
echo "- - -" > /sys/class/scsi_host/host1/scan
echo "1" > /sys/class/fc_host/host2/issue_lip
echo "- - -" > /sys/class/scsi_host/host2/scan
[root@pr-al-ulpsovm2 scsi]# cat /proc/scsi/scsi | egrep -i 'Host:' | wc -l
35
[root@pr-al-ulpsovm2 scsi]# /usr/bin/rescan-scsi-bus.sh -l -w
Host adapter 0 (megaraid_sas) found.
Host adapter 1 (lpfc) found.
Host adapter 2 (lpfc) found.
Host adapter 3 (ahci) found.
Host adapter 4 (ahci) found.
Host adapter 5 (ahci) found.
Host adapter 6 (ahci) found.
Host adapter 7 (ahci) found.
Host adapter 8 (ahci) found.
Scanning SCSI subsystem for new devices
Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15, LUNs 0 1 2 3 4 5 6 7
Scanning for device 0 2 0 0 ...
OLD: Host: scsi0 Channel: 02 Id: 00 Lun: 00
Vendor: LSI Model: RAID 5/6 SAS 6G Rev: 2.13
Type: Direct-Access ANSI SCSI revision: 05
Scanning for device 0 2 1 0 ...
OLD: Host: scsi0 Channel: 02 Id: 01 Lun: 00
Vendor: LSI Model: RAID 5/6 SAS 6G Rev: 2.13
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 1 for all SCSI target IDs, LUNs 0 1 2 3 4 5 6 7
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: DGC Model: LUNZ Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 0 1 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 01
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 0 2 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 02
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 0 3 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 03
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 0 4 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 04
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 0 5 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 05
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 0 6 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 06
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 0 7 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 07
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 0 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: DGC Model: LUNZ Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 1 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 01
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 2 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 02
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 3 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 03
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 4 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 04
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 5 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 05
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 6 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 06
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 1 0 1 7 ...
OLD: Host: scsi1 Channel: 00 Id: 01 Lun: 07
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning host 2 for all SCSI target IDs, LUNs 0 1 2 3 4 5 6 7
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: DGC Model: LUNZ Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 0 1 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 01
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 0 2 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 02
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 0 3 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 03
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 0 4 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 04
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 0 5 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 05
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 0 6 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 06
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 0 7 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 07
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 0 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: DGC Model: LUNZ Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 1 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 01
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 2 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 02
Vendor: DGC Model: VRAID Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 3 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 03
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 4 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 04
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 5 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 05
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 6 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 06
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning for device 2 0 1 7 ...
OLD: Host: scsi2 Channel: 00 Id: 01 Lun: 07
Vendor: DGC Model: Rev: 0430
Type: Direct-Access ANSI SCSI revision: 04
Scanning host 3 channels 0 for SCSI target IDs 0 1, LUNs 0 1 2 3 4 5 6 7
Scanning host 4 channels 0 for SCSI target IDs 0 1, LUNs 0 1 2 3 4 5 6 7
Scanning for device 4 0 0 0 ...
OLD: Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: DVDRAM GT80N Rev: SF03
Type: CD-ROM ANSI SCSI revision: 05
Scanning host 5 channels 0 for SCSI target IDs 0 1, LUNs 0 1 2 3 4 5 6 7
Scanning host 6 channels 0 for SCSI target IDs 0 1, LUNs 0 1 2 3 4 5 6 7
Scanning host 7 channels 0 for SCSI target IDs 0 1, LUNs 0 1 2 3 4 5 6 7
Scanning host 8 channels 0 for SCSI target IDs 0 1, LUNs 0 1 2 3 4 5 6 7
0 new device(s) found.
0 device(s) removed.
[root@pr-al-ulpsovm2 scsi]# /sbin/service multipathd status
multipathd (pid 1880) is running...
ls /sys/class/scsi_host/
host0 host1 host2 host3 host4 host5 host6 host7 host8
[root@pr-al-ulpsovm2 scsi]# ls /sys/class/fc_host
host1 host2
dmesg:
bottom part:
sd 1:0:1:1: emc: at SP B Port 6 (owned, default SP B)
sd 2:0:1:1: emc: ALUA failover mode detected
sd 2:0:1:1: emc: at SP B Port 7 (owned, default SP B)
sd 1:0:0:2: emc: ALUA failover mode detected
sd 1:0:0:2: emc: at SP A Port 6 (owned, default SP A)
sd 2:0:0:2: emc: ALUA failover mode detected
sd 2:0:0:2: emc: at SP A Port 7 (owned, default SP A)
lpfc 0000:02:00.0: 0:1305 Link Down Event xa received Data: xa x20 x110 x0 x0
lpfc 0000:02:00.0: 0:1303 Link Up Event xb received Data: xb x0 x20 x0 x0 x0 0
lpfc 0000:83:00.0: 1:1305 Link Down Event xe received Data: xe x20 x110 x0 x0
lpfc 0000:83:00.0: 1:1303 Link Up Event xf received Data: xf x0 x20 x0 x0 x0 0
scsi 0:0:4:0: Direct-Access SEAGATE ST3600057SS 1703 PQ: 0 ANSI: 5
scsi 0:0:5:0: Direct-Access SEAGATE ST3600057SS 1703 PQ: 0 ANSI: 5
scsi 0:0:6:0: Direct-Access SEAGATE ST3600057SS 1703 PQ: 0 ANSI: 5
scsi 0:0:7:0: Direct-Access SEAGATE ST3600057SS 1703 PQ: 0 ANSI: 5
scsi 0:0:8:0: Direct-Access SEAGATE ST3600057SS 1703 PQ: 0 ANSI: 5
scsi 0:0:9:0: Direct-Access SEAGATE ST3600057SS 1703 PQ: 0 ANSI: 5
ata1: hard resetting link
ata1: SATA link down (SStatus 0 SControl 300)
ata1: EH complete
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for UDMA/133
ata2: EH complete
sd 1:0:1:1: emc: ALUA failover mode detected
sd 1:0:1:1: emc: at SP B Port 6 (owned, default SP B)
sd 2:0:1:1: emc: ALUA failover mode detected
sd 2:0:1:1: emc: at SP B Port 7 (owned, default SP B)
sd 1:0:0:2: emc: ALUA failover mode detected
sd 1:0:0:2: emc: at SP A Port 6 (owned, default SP A)
sd 2:0:0:2: emc: ALUA failover mode detected
sd 2:0:0:2: emc: at SP A Port 7 (owned, default SP A)
rport-1:0-9: blocked FC remote port time out: removing rport
rport-2:0-10: blocked FC remote port time out: removing rport
ata1: hard resetting link
ata1: SATA link down (SStatus 0 SControl 300)
ata1: EH complete
lpfc 0000:02:00.0: 0:1305 Link Down Event xc received Data: xc x20 x110 x0 x0
lpfc 0000:02:00.0: 0:1303 Link Up Event xd received Data: xd x0 x20 x0 x0 x0 0
lpfc 0000:83:00.0: 1:1305 Link Down Event x10 received Data: x10 x20 x110 x0 x0
lpfc 0000:83:00.0: 1:1303 Link Up Event x11 received Data: x11 x0 x20 x0 x0 x0 0
rport-1:0-10: blocked FC remote port time out: removing rport
rport-2:0-11: blocked FC remote port time out: removing rport
ata1: hard resetting link
ata1: SATA link down (SStatus 0 SControl 300)
ata1: EH complete
more /etc/multipath.conf:
#blacklist {
# wwid 26353900f02796769
# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
# devnode "^hd[a-z]"
# devnode "^sd[ab]"
#multipaths {
[root@pr-al-ulpsovm2 scsi]# multipath -ll
36003005701a64e701bad80050cb9fc6e dm-0 LSI,RAID 5/6 SAS 6G
size=1.6T features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 0:2:1:0 sdb 8:16 active ready running
3600601607ea021009c41f0912643e411 dm-2 DGC,VRAID
size=100G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| |- 1:0:0:2 sde 8:64 active ready running
| `- 2:0:0:2 sdk 8:160 active ready running
`-+- policy='round-robin 0' prio=0 status=enabled
|- 1:0:1:2 sdh 8:112 active ready running
`- 2:0:1:2 sdn 8:208 active ready running
3600601607ea02100001dfe442643e411 dm-1 DGC,VRAID
size=1.4T features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| |- 1:0:1:1 sdg 8:96 active ready running
| `- 2:0:1:1 sdm 8:192 active ready running
`-+- policy='round-robin 0' prio=0 status=enabled
|- 1:0:0:1 sdd 8:48 active ready running
`- 2:0:0:1 sdj 8:144 active ready running
please help
tayeah someone else set this up and i'm trying to help, but not getting very far. I can see the lun on the storage is there, not sure how to check if ovs tried to access it. I thought issue_lip or scan should have picked up the extra lun, is that wrong?
-
We have installed oracle linux 5.x using the custom partitioning and the OS installation was successfully completed and we were able to access the Linux OS without any issues.
But, while observing the /etc/fstab file, it has an additional partition entry which we have not created during the custom partition.
Why this below partition was created and purpose:
tmpfs /dev/shm tmpfs defaults 0 0
# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/u01 /u01 ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/swap /swap ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@nfs-stg-db1 ~]#
Becuse of this OS additional partition the Oracale Database Alert Log file reporting ORA-07445 errors.
Please advise.Thanks for your respose..
But we have commented this line in /etc/fstab file and re-booted the machine. Then restared the oracle database and the application without any issues and we are not receiving the ORA-07445 errors in database alert log file. Please check the oracle metalink note ID 1191471.1
#tmpfs /dev/shm tmpfs defaults 0 0
and now applicaiton is working fine without any issues.
Cause
You have set additional mount options on the shared memory device, /dev/shm, other than just the option named defaults.
Solution
If you see any other mount options in file /etc/fstab after the word "defaults" for /dev/shm,
such as nosuid, nodev, or noexec:
none /dev/shm tmpfs defaults,nosuid,nodev,noexec 0 0
then remove these options from the entry in /etc/fstab:
none /dev/shm tmpfs defaults 0 0
shut down the database instance, and reboot the system. Restart the database instance. The errors should no longer appear.
After executing the above action plan the issue has been resolved.
But our concern is, what this partition and why its created automaticall? if this partition is created automatically, it should also handle the oracle database.
Appreciate your advice. -
Swap size issues-Unable to install DB!!
Unable to install DB. End part i am getting failed due to swap size issue .. FYI...
[root@usr~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 5.9G 5.9G 0 100% /
/dev/hda3 3.0G 848M 2.0G 31% /tmp
/dev/hda5 34G 12G 21G 37% /refresh
/dev/hda1 99M 12M 83M 12% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
[root@usr~]#
Please help me...ThanksYou can increase your swap space.. I have also faced same issue
Just try: http://www.thegeekstuff.com/2010/08/how-to-add-swap-space/
~J -
Unable to install DB(swap size issues)
Unable to install DB. End part i am getting failed due to swap size issue .. FYI...
[root@usr~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 5.9G 5.9G 0 100% /
/dev/hda3 3.0G 848M 2.0G 31% /tmp
/dev/hda5 34G 12G 21G 37% /refresh
/dev/hda1 99M 12M 83M 12% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
[root@usr~]#
Please help me...ThanksI tried with dd if=/dev/hda3 of=/dev/hda5 count=1024 bs=3097152
Now the o/p is below ...
[root@user/]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 5.9G 5.9G 0 100% /
/dev/hda3 35G 33G 345M 99% /tmp
/dev/hda5 34G 12G 21G 37% /refresh
/dev/hda1 99M 12M 83M 12% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
[root@user/]# cd /tmp/ -
[SOLVED] SystemD NTFS partition issue's
Hey archers,
hope someone here can help me
recently began testing systemd & I am facing a problem where I have to ctrl+d or give root password during every boot up due to systemd having problems with my ntfs partition ( i mount at boot as I have symlinks to that partition for documents & programs which run in wine)
I have not enabled anything to do with mounting or even added the fuse module to load as it has already picked that up!
here are the entries I think are related to this from journalctl:
Aug 29 07:57:37 b0x ntfs-3g[568]: Version 2012.1.15 external FUSE 29
Aug 29 07:57:37 b0x ntfs-3g[568]: Mounted /dev/sdb1 (Read-Write, label "Win7-sys", NTFS 3.1)
Aug 29 07:57:37 b0x ntfs-3g[568]: Cmdline options: rw,noatime,sync,gid=100,umask=002
Aug 29 07:57:37 b0x ntfs-3g[568]: Mount options: rw,sync,allow_other,nonempty,noatime,fsname=/dev/sdb1,blkdev,blksize=4096,default_permissions
Aug 29 07:57:37 b0x ntfs-3g[568]: Global ownership and permissions enforced, configuration type 7
Aug 29 07:57:37 b0x ntfs-3g[568]: Warning : using problematic uid==0 and gid!=0
Aug 29 07:57:37 b0x mount[572]: Mount is denied because the NTFS volume is already exclusively opened.
Aug 29 07:57:37 b0x mount[572]: The volume may be already mounted, or another software may use it which
Aug 29 07:57:37 b0x mount[572]: could be identified for example by the help of the 'fuser' command.
Aug 29 07:57:37 b0x systemd[1]: media-Win7.mount mount process exited, code=exited status=16
Aug 29 07:57:37 b0x systemd[1]: Job local-fs.target/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Triggering OnFailure= dependencies of local-fs.target.
Aug 29 07:57:37 b0x systemd[1]: Job systemd-user-sessions.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job lightdm.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job graphical.target/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job multi-user.target/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job systemd-logind.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job dbus.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job [email protected]/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job hwclock.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job syslog-ng.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job network.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job cronie.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job snmpd.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job samba.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job webmin.service/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd[1]: Job systemd-tmpfiles-clean.timer/start failed with result 'dependency'.
Aug 29 07:57:37 b0x systemd-journal[181]: Journal stopped
Aug 29 07:57:37 b0x systemd-journal[584]: Journal started
Aug 29 07:57:37 b0x ntfs-3g[568]: Unmounting /dev/sdb1 (Win7-sys)
Aug 29 07:57:37 b0x systemd-udevd[224]: '/usr/sbin/alsactl restore 0' [500] terminated by signal 15 (Terminated)
Aug 29 07:57:38 b0x systemd[1]: Startup finished in 3s 111ms 648us (kernel) + 6s 425ms 155us (userspace) = 9s 536ms 803us.
Aug 29 07:57:38 b0x systemd[582]: Failed at step EXEC spawning /bin/plymouth: No such file or directory
Aug 29 07:58:25 b0x systemd[1]: Cannot add dependency job for unit avani-dnsconfd.service, ignoring: Unit avani-dnsconfd.service failed to load: No such file or directory. See system lo...e' for details.
Aug 29 07:58:25 b0x systemd[1]: Socket service syslog.service not loaded, refusing.
Aug 29 07:58:26 b0x arch-modules-load[609]: mkdir: cannot create directory ‘/run/modules-load.d’: File exists
Aug 29 07:58:26 b0x systemd-modules-load[706]: Module 'vhba' is already loaded
Aug 29 07:58:26 b0x systemd-modules-load[706]: Module 'fuse' is already loaded
Aug 29 07:58:26 b0x systemd-fsck[646]: public: clean, 385878/2039808 files, 5060668/8159011 blocks
Aug 29 07:58:26 b0x systemd-fsck[653]: VM: clean, 228/5677056 files, 5637221/22680575 blocks
Aug 29 07:58:26 b0x systemd-fsck[644]: Home: clean, 90204/1327104 files, 984778/5305458 blocks
Aug 29 07:58:26 b0x ntfs-3g[871]: Version 2012.1.15 external FUSE 29
Aug 29 07:58:26 b0x ntfs-3g[871]: Mounted /dev/sdb1 (Read-Write, label "Win7-sys", NTFS 3.1)
Aug 29 07:58:26 b0x ntfs-3g[871]: Cmdline options: rw,gid=100,fmask=113,dmask=002
Aug 29 07:58:26 b0x ntfs-3g[871]: Mount options: rw,allow_other,nonempty,relatime,fsname=/dev/sdb1,blkdev,blksize=4096,default_permissions
Aug 29 07:58:26 b0x ntfs-3g[871]: Global ownership and permissions enforced, configuration type 7
Aug 29 07:58:26 b0x ntfs-3g[871]: Warning : using problematic uid==0 and gid!=0
Here is the entry in /etc/fstab for this partition:
## Entry for /dev/sdb1 SYSTEM:(Win7)
UUID=44083B9668A3E0CC /media/Win7 ntfs-3g gid=users,fmask=113,dmask=002 0 0
I have been all over goggle & am unable to find out anything which can help.
As stated before I have links to this partition & so really want/need this partition to be mounted at boot.
Any help on this will be greatly appreciated
Thanks in advance
EDIT #1
rebooted again, still the same happening
ran:
$ sudo mount -l
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=3022708k,nr_inodes=755677,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,data=ordered) [Arch-sys]
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
/dev/sdb3 on /media/wine type ext4 (rw,noatime,errors=remount-ro,data=ordered) [wine] <<<THIS SHOULD NOT BE HERE!<<<<<<<<<
/dev/sdd1 on /media/spare2 type ext4 (rw,noatime,errors=remount-ro,data=ordered) [spare2] <<<THIS SHOULD NOT BE HERE!<<<<<<<<<<
/dev/sdc1 on /media/spare type ext4 (rw,noatime,errors=remount-ro,data=ordered) [spare] <<<THIS SHOULD NOT BE HERE!<<<<<<<<<<<
/dev/sde1 on /media/USB-HDD2 type vfat (rw,noatime,sync,gid=100,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) [USB-HDD2] <<<<<THIS IS NORMAL
/dev/sdb4 on /media/pac type ext4 (rw,noatime,errors=remount-ro,data=ordered) [pac] <<<THIS SHOULD NOT BE HERE!
/dev/sdd1 on /media/Spare2 type ext4 (rw,relatime,errors=remount-ro,data=ordered) [spare2] <<<<<THIS IS NORMAL
/dev/sdc1 on /media/Spare type ext4 (rw,relatime,errors=remount-ro,data=ordered) [spare] <<<<<THIS IS NORMAL
/dev/sdb2 on /media/VM type ext4 (rw,relatime,errors=remount-ro,data=ordered) [VM] <<<<<THIS IS NORMAL
/dev/sdb3 on /var/wine type ext4 (rw,relatime,errors=remount-ro,data=ordered) [wine] <<<<<THIS IS NORMAL
/dev/sdb4 on /var/cache/pacman type ext4 (rw,relatime,errors=remount-ro,data=ordered) [pac] <<<<<THIS IS NORMAL
/dev/sdb1 on /media/Win7 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096) [Win7-sys] <<<<<THIS IS NORMAL
/dev/sda3 on /public type ext4 (rw,relatime,errors=remount-ro,data=ordered) [public] <<<<<THIS IS NORMAL
/dev/sda5 on /home type ext4 (rw,relatime,errors=remount-ro,data=ordered) [Home] <<<<<THIS IS NORMAL
gvfs-fuse-daemon on /run/user/1000/gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
as you can see my partitions are being mounted TWICE which is not what I want or expected!
is there more documentation on what systemd does with mounts that could explain why i have multiple mount points for partitions or is this due to systemd discovering my partitions & mounting them at points based on label names & then parsing my FSTAB as well!
I have read the wikki but there is very small info there & the links have not provided an explanation for this unwanted behaviour
EDIT #2
>>>>>>>>>>>SOLVED<<<<<<<<<<<<<<
not an NTFS or FUSE issue
I had previously installed mnttools!
removed & now all is well
sorry
Last edited by t0m5k1 (2012-08-29 08:30:11)OK,
After being spurred on to try to do this thing properly, this is what I came up with today.
My fstab line (for a USB NTFS disk):
/dev/sdb1 /media/samsung ntfs-3g noauto,users,rw,nodev 0 0
Then I created the /media/samsung folder and gave the audio group read/write permissions.
It seems that non-root users can only mount an ntfs partition if they use a version of ntfs-3g with fuse included, so I replaced ntfs-3g with the version from AUR, having removed from the PKGBUILD file the option "-with-fuse=external" (see this thread: http://bbs.archlinux.org/viewtopic.php?id=44844 ). I also had to set
the ntfs-3g binary to setuid-root, dealt with here: http://www.tuxera.com/community/ntfs-3g … privileged (note- the instructions say this is discouraged, but it seems using ntfs partitions in linux requires some compromises).
I can now mount the drive as an ordinary user.
Then I set mpd back to run as user mpd, checked the audio group had access to all the mpd folders, and all was well.
One hiccup which you might not have: mpd was unable to access my (external) sound card at first. To solve this one, I used
chmod 770 /dev/snd -R && chgrp audio /dev/snd -R
As far as I can remember, that's everything.
Last edited by Henry Flower (2010-04-20 12:54:26) -
Tmpfs free space versus the "free" command
I've always thought this possible, so today I tried it:
I have 2 gigs of physical RAM, and no swap partitions, so my memory limit is a hard 2 gigs.
I made 2 1-gig tmpfs mounts; nothing complained.
I filled them up one at a time, and kept checking both free memory (with free) and free space on the tmpfs mounts -- as I started to get near the limit of my system's RAM, free still showed plenty of RAM free in the +/- row.
Neither free nor df gave me any indication that the system was dangerously low on memory. (I assume from a bit of Googling that "free" considers the size of tmpfs's to be part of the "cached" column, as nothing else was big enough to contain them.)
Anyhow, I added a few more files to the tmpfs and the system locked up for a while... After about 3 minutes of hard drive thrashing (which was a bit distressing, but since my files look OK I guess it was desperately running sync again and again to try to free RAM for the tmpfs), a couple programs died and everything went back to normal.
So, in an effort to have that not happen again (since I use tmpfs heavily; it's a nice way to screw around with big files without waiting on hard drives), I wrote this little shell script:
#!/bin/bash
#prints worst-case free memory, from /proc/meminfo
total=`grep MemTotal /proc/meminfo | gawk '{print $2}'`
used=`grep Committed_AS /proc/meminfo | gawk '{print $2}'`
echo "Free RAM in the worst case: " $(($total - $used)) "kB"
and put this in my .bashrc:
alias free='free; wcfree'
alias df='df; wcfree'
~Felix.
PS: If it's not possible to make stuff crash with only a single tmpfs, please let me know -- that would be good knowledge, and make me feel silly for writing this :PThe advice I got was to shrink the database and reexpand it. And reindex all tables because of defragmentation.
I don't know if it works, and I would be hesitant to try it, because I believe there is an issue with DBCC SHRINKFILE being awfully slow when there is LOB data.
I like to believe that your odds would be better if you used varbinary(MAX), and given how easier varbinary(MAX) is to work with your life would be happier two. But I don't know how that would work with your merge-replication scheme. And if you use READ/WRITE/UPDATETEXT
you need to change that code.
You say you cannot create a new table and copy data over because of merge replication. Would it be possible to create a new column, copy data over, drop the old column and rename? I have no experience with merge replication myself, so I don't know of
the repercussions. If you do this, you need to run DBCC CLEANTABLE to get rid of the space.
For that matter you could try DBCC CLEANTABLE in the state you have now. Not that it should help from you have told me, but you never know...
Erland Sommarskog, SQL Server MVP, [email protected] -
Bootchart2-git: bootchart-renderer fails to mount /lib/bootchart/tmpfs
I recently bought a new laptop and made a fresh Arch installation. After a few initial annoyances I got everything working more or less as intended, except bootchart. Since the wiki said "Note: An alternative to Bootchart is bootchart2, which at least has more recent activity than 2005. It can be found on the AUR as bootchart2-git. It uses python for generating the final chart instead of a JVM. ", I used the git version from AUR, if that matters.
[r-a@vinter ~]$ /sbin/bootchartd start; sleep 1; /sbin/bootchartd stop
10834 109
bootchart-collector tmpfs mount to /lib/bootchart/tmpfs failed
Can't extract boot chart from collector
[r-a@vinter ~]$
A peek at the source code(collector/collector.c:625-630):
if (mount ("none", TMPFS_PATH, "tmpfs", MS_NOEXEC|MS_NOSUID, NULL) < 0) {
if (errno != EBUSY) {
fprintf (stderr, "bootchart-collector tmpfs mount to " TMPFS_PATH " failed\n");
return 1;
strace output:
15146 mount("none", "/lib/bootchart/tmpfs", "tmpfs", MS_NOSUID|MS_NOEXEC, NULL) = -1 EPERM (Operation not permitted)
man 2 mount says this:
EPERM The caller does not have the required privileges.
I haven't tried changing the default path to mount to for example something like /tmp/, perhaps it'd solve the privilege issue... What bugs me is that the default config indeed uses /lib/bootchart/ as it's base path... So I can only assume that it somehow should have permission to mount tmpfs to that directory? Whatever, I am a bit clueless here. What next?Setting the SUID bit of bootchart-collector with chmod +s didn't do the trick; though I am not entirely sure if it was because of failed mount - I can't check it right now.
...anyone...? -
New V245 Filesystem Issue - I/O error
I just purchased a V245 with Solaris 10 preloaded. I fired my new server up to experience a filesystem issue and it will not boot normally. I don't see a mount directory for /export/home, /var and where is slice 5? Please help.
WARNING - Unable to repair the /var filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c0t0d0s5).
# fsck -Y -F ufs /dev/rdsk/c0t0d0s5
Can't open /dev/rdsk/c0t0d0s5: I/O error
# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
/devices - /devices devfs - no -
/proc - /proc proc - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
fd - /dev/fd fd - no -
swap - /tmp tmpfs - yes -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /var ufs 1 yes -
/swapfile - - swap - no -
bash-3.00# prtvtoc /dev/rdsk/c0t0d0s0
* /dev/rdsk/c0t0d0s0 partition map
* Dimensions:
* 512 bytes/sector
* 424 sectors/track
* 24 tracks/cylinder
* 10176 sectors/cylinder
* 14089 cylinders
* 14087 accessible cylinders
* Flags:
* 1: unmountable
* 10: read-only
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 26681472 12292608 38974079
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 0 00 4151808 22529664 26681471 /
1 0 00 50880 4100928 4151807
2 5 00 0 143349312 143349311
3 0 00 38974080 104375232 143349311
7 0 00 0 50880 50879
Edited by: xc0de on Sep 14, 2007 4:06 PMWere you able to resolve this issue? I have the same machine -- V245, Solaris 10 -- which is exhibiting the same behaviour.
Maybe you are looking for
-
Satellite C50-D - External Hard Drive is not recognized
Have just purchased Satellite C50 D but cannot get it to read or recognise my LaCie hard drive. As this has all the data from my previous computer it is rather important. Can anyone provide help and guidance as to how to a) read the drive or b) trans
-
How to stream external video thru iTunes?
Hey Apple community! So I've got a bit of a question. Is there a way to stream an internet video (such as from youtube) thru iTunes onto my computer? What I'm saying, for example, is I wanna watch a video on YouTube, but I wanna watch it in an iTunes
-
Hello. I have problem with music player, which I can't close. It runs in background all the time. In background should only be standby. I was reading some posts, but I can't find nothing useful. If someone find some solutions or something, please hel
-
Declaring namespaces ONLY on root element during serialization
I'm using JAXP 1.3 and I'd like to be able to serialize a document so that the namespace declarations are only specified once on the root element and not repeated throughout the document. I'm working on a journal publication system and the request ca
-
I have downgraded HP Pro 3400 seies MT computer from windows 7 to windows xp but know i can not find network drivers. someone help me. This question was solved. View Solution.