Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#586 closed defect (fixed)

Swap space error--seems like a trend

Reported by: anika200 Owned by: Bruno Cornec
Priority: normal Milestone: 3.0.1
Component: mindi Version: 3.0.0
Severity: normal Keywords: mindi
Cc:

Description

There is some problem with swap files and mindi as you know. Here I have attached my log file from mindi and a text capture of the "swapon -s" output from console which shows the swapfile is in use. I do assume you are checking for swap files and not always swap partition? To help out the diagnosis I will include some details. The swap file was created via this web page "https://help.ubuntu.com/community/SwapFaq" seems like the standard thing. It is also created on the last partition on the disk which is NOT included in the lvm scheme, which may have some bearing. Also I have the service "swapspace" enabled on the drive which may be of importance, although for the logs I have sent I disabled "swapspace" service and then ran mindi. The only reason I have a swap file set up on that partition is that vmware complains about it when I run windows 7 as a guest, otherwise I never use one on this machine. Maybe this will help and certainly I would want to hear from you if there is a solution to the problem as I want to use mondo on a couple of linux boxes here. Thanks for your time, Lee P.S. I have no idea what the differing severity levels mean, maybe this could be documented somewhere for no developers.

Ok could not figure out how to attach files to ticket so the code quotes are the logs.

mindi v2.1.0-r2930
x86_64 architecture detected
mindi called with the following arguments:
--readalllink /dev/ubuntuvg/homelv
Start date : Wed Feb  8 09:41:51 EST 2012
-----------------------------
MONDO_SHARE = 
MINDI_LIB = /usr/lib/mindi
MINDI_SBIN = /usr/sbin
MINDI_CONF = /etc/mindi
-----------------------------
 Mindi configuration file    
-----------------------------
-----------------------------
Found isolinux.bin at /usr/lib/syslinux/isolinux.bin
LVM set to v2
----------
mount result:
-------------
/dev/mapper/ubuntuvg-rootlv on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdb4 on /media/data type ext4 (rw,nosuid,nodev,commit=0)
/dev/sdb1 on /boot type ext2 (rw)
/dev/mapper/ubuntuvg-homelv on /home type ext4 (rw,commit=0)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
gvfs-fuse-daemon on /home/lee/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=lee)
-------------
-------------
cat /proc/cmdline:
-------------
BOOT_IMAGE=/vmlinuz-3.0.0-15-generic root=/dev/mapper/ubuntuvg-rootlv ro quiet splash vt.handoff=7
-------------
cat /proc/swaps:
-------------
Filename				Type		Size	Used	Priority
/media/data/swapfile.10G                file		10485756	0	-1
-------------
cat /proc/partitions:
-------------
major minor  #blocks  name

   8        0  488385527 sda
   8        1  487873481 sda1
   8        2     509952 sda2
   8       16 1953513527 sdb
   8       17     240943 sdb1
   8       18  117186142 sdb2
   8       19  859373077 sdb3
   8       20  976711837 sdb4
 253        0  115343360 dm-0
 253        1  861192192 dm-1
-------------
cat /proc/filesystems:
-------------
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	cgroup
nodev	cpuset
nodev	tmpfs
nodev	devtmpfs
nodev	debugfs
nodev	securityfs
nodev	sockfs
nodev	pipefs
nodev	anon_inodefs
nodev	devpts
	ext3
	ext2
	ext4
nodev	ramfs
nodev	hugetlbfs
nodev	ecryptfs
nodev	fuse
	fuseblk
nodev	fusectl
nodev	pstore
nodev	mqueue
nodev	binfmt_misc
	iso9660
-------------
lsmod result:
-------------
Module                  Size  Used by
raid456                62545  0 
async_pq               13187  1 raid456
async_xor              12879  2 raid456,async_pq
xor                    12894  1 async_xor
async_memcpy           12529  1 raid456
async_raid6_recov      12776  1 raid456
raid6_pq               88307  2 async_pq,async_raid6_recov
async_tx               13349  5 raid456,async_pq,async_xor,async_memcpy,async_raid6_recov
raid1                  30856  0 
raid0                  17272  0 
linear                 12928  0 
isofs                  40253  0 
hidp                   22862  1 
vmnet                  55617  13 
vsock                  52475  0 
vmci                   86575  1 vsock
vmmon                  80498  0 
rfcomm                 47946  8 
bnep                   18436  2 
parport_pc             36962  0 
ppdev                  17113  0 
binfmt_misc            17540  1 
vesafb                 13809  1 
snd_hda_codec_hdmi     32040  1 
snd_hda_codec_realtek   330769  1 
snd_hda_intel          33390  5 
snd_hda_codec         104931  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13668  1 snd_hda_codec
snd_pcm                96714  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi           13324  0 
snd_rawmidi            30547  1 snd_seq_midi
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
snd_timer              29991  2 snd_pcm,snd_seq
snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    68266  19 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              12680  1 snd
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
mei                    41480  0 
btusb                  18600  4 
hwmon_vid              12746  0 
fglrx                2928969  146 
bluetooth             166112  28 hidp,rfcomm,bnep,btusb
coretemp               13420  0 
serio_raw              13166  0 
lp                     17799  0 
parport                46562  3 parport_pc,ppdev,lp
usbhid                 47198  0 
hid                    95463  2 hidp,usbhid
ahci                   26002  4 
libahci                26861  1 ahci
r8169                  52788  0 
xhci_hcd               82820  0 
FORCE_MODS:
-------------

-------------
DENY_MODS:
-------------
kqemu
-------------
df result:
----------
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/ubuntuvg-rootlv
              ext4   113533600   7165160 100601272   7% /
udev      devtmpfs     4079064         4   4079060   1% /dev
tmpfs        tmpfs     1635300      1084   1634216   1% /run
none         tmpfs        5120         8      5112   1% /run/lock
none         tmpfs     4088248      2256   4085992   1% /run/shm
/dev/sdb4     ext4   961385964  43559932 868990444   5% /media/data
/dev/sdb1     ext2      225806     48851    164908  23% /boot
/dev/mapper/ubuntuvg-homelv
              ext4   847678188  55965712 748652868   7% /home
-------------
Liste of extra modules is:
ht st osst ide-tape ide_tape ide ide-floppy floppy ide-generic ide-detect ide-mod ide-disk ide_disk ide-cd ide_cd ide_cd_mod ide-cd_mod ide-cs ide-core ide_core ide-gd_mod ide_gd_mod edd paride ata_generic ide_pci_generic ata_piix libata dock via82cxxx generic nvidia ahci libahci sata_nv cmd64x pata_amd pata_marvell pata_serverworks pata_sis pata_sil680 pata_jmicron pata_atiixp amd74xx sis5513 jmicron sata_promise sata_via serverworks sata_svw blkbk virtio virtio_ring virtio_pci virtio_blk virtio_balloon usb-storage usb-ohci usb-uhci usbcore usb_storage input hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd ohci-hcd ohci_hcd xhci usbkbd usbhid keybdev mousedev libusual scsi_mod ff-memless ums_cypress ums-cypress cp210x usbserial pcmcia_core ds yenta_socket 3w-xxxx 3w_xxxx 3w_9xxx 3w-9xxx 53c7,8xx a100u2w a320raid aacraid adpahci advansys aha152x aha1542 aha1740 aic79xx aic79xx_mod aic7xxx aic7xxx_mod aic7xxx_old AM53C974 atp870u BusLogic cciss cpqfc hpsa dmx3191d dpt_i2o dtc eata eata_dma eata_pio fdomain gdth g_NCR5380 i2o_block i2o_core ide-scsi ieee1394 imm in2000 initio ips iscsi iscsi_tcp libiscsi scsi_transport_iscsi libiscsi_tcp isp megaraid megaraid_mm megaraid_mbox megaraid_sas mega_sr mptbase mptscsih mptsas mptspi mptfc mptscsi mptctl NCR53c406a ncr53c8xx nsp32 pas16 pci2000 pci2220i pcmcia ppa psi240i qla1280 qla2200 qla2300 qla2400 qla2xxx qla2xxx_conf qlogicfas qlogicfc qlogicisp qlogicfas qlogicfas408 raw1394 scsi_mod scsi_transport_sas scsi_transport_spi scsi_transport_fc sd_mod crc_t10dif crc-t10dif seagate sg sim710 sr_mod sym53c416 sym53c8xx sym53c8xx_2 t128 tmscsim u14-34f ultrastor wd7000 vmhgfs intermodule scsi_dh scsi_tgt emcpdm emcpgpx emcpmpx emcp dc395x diskdumplib scsi_dump_register arcmsr auth_rpcgss sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 bnx2x bnx2i mdio e1000 e1000e igb dca eepro100 ne2k-pci tg3 libphy pcnet32 8139cp 8139too 8390 forcedeth vmxnet vmxnet3 vmnet exportfs fuse libcrc32c netbk xenblktap r8169 virtio_net af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660 vfat fat loop md-mod linear raid0 raid1 xor raid10 raid5 raid456 raid6_pq async_pq xor async_tx async_memcpy async_xor lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin dm-emc dm-hp-sw dm-rdac dm-region-hash dm-snapshot dm-log multipath jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16 ocfs2 ocfs2_dlm ocfs2_nodemanager configfs
-------------
Mindi 2.1.0-r2930 is exiting
End date : Wed Feb  8 09:41:51 EST 2012
        DEVICE          MOUNTPOINT      FORMAT          SIZE (MB)       LABEL/UUID     
Examining /dev/sdb2 (mount=lvm fmt=lvm psz=117186142)
	/dev/sdb2       lvm             lvm              114439                
Examining /dev/sdb3 (mount=lvm fmt=lvm psz=859373077)
	/dev/sdb3       lvm             lvm              839231                
Examining /dev/dm-0 (mount=/ fmt=ext4 psz=115343360)
	/dev/dm-0       /               ext4             112640                
Examining /dev/sdb1 (mount=/boot fmt=ext2 psz=240943)
	/dev/sdb1       /boot           ext2                235 c03adbaf-3ad7-4cc1-ba2f-efb8cfa649df
Examining /dev/dm-1 (mount=/home fmt=ext4 psz=861192192)
	/dev/dm-1       /home           ext4             841008                
Examining /dev/sdb4 (mount=/media/data fmt=ext4 psz=976711837)
	/dev/sdb4       /media/data     ext4             953820                
FATAL ERROR. Cannot find /media/data/swapfile.10G's size - is your /etc/fstab sane?
Please e-mail a copy of /var/log/mindi.log to the mailing list.
See http://www.mondorescue.org for more information.
WE CANNOT HELP unless you enclose that file.

Mindi 2.1.0-r2930 is exiting
End date : Wed Feb  8 09:41:52 EST 2012
Examining /media/data/swapfile.10G (mount=swap fmt=swap psz=10485756)
	/media/data/swapfile.10G swap            swap              10239                
cp: cannot stat `/tmp/mindi.4063WPB8y1/mountlist.txt': No such file or directory
FATAL ERROR. Cannot copy mountlist.txt from /tmp/mindi.4063WPB8y1 to data disk
Please e-mail a copy of /var/log/mindi.log to the mailing list.
See http://www.mondorescue.org for more information.
WE CANNOT HELP unless you enclose that file.

Mindi 2.1.0-r2930 is exiting
End date : Wed Feb  8 09:41:52 EST 2012
lee@lee-H67N:~$ sudo mindi
Mindi Linux mini-distro generator v2.1.0-r2930
Latest Mindi is available from http://www.mondorescue.org
BusyBox sources are available from http://www.busybox.net
------------------------------------------------------------------------------
Mindi-BusyBox v1.18.5-r2930 (2012-01-25 04:09:25 CET) multi-call binary.
Do you want to use your own kernel to build the boot disk ([y]/n) ?
TryToFindKernelPath found /boot/vmlinuz-3.0.0-15-generic
Analyzing dependency requirements       			Done.         
Making complete dependency list 				Done.         
Analyzing your keyboard's configuration.
Adding the following keyboard mapping tables: 
								Done.         
Assembling dependency files.....................................Done.         ..................................
Your mountlist will look like this:
Analyzing LVM...
        DEVICE          MOUNTPOINT      FORMAT          SIZE (MB)       LABEL/UUID     
	/dev/sdb2       lvm             lvm              114439                
	/dev/sdb3       lvm             lvm              839231                
	/dev/sdc1       lvm             lvm               19077                
	/dev/dm-0       /               ext4             112640                
	/dev/sdb1       /boot           ext2                235 c03adbaf-3ad7-4cc1-ba2f-efb8cfa649df
	/dev/dm-1       /home           ext4             841008                
	/dev/sdb4       /media/data     ext4             953820                
FATAL ERROR. Cannot find /media/data/swapfile.10G's size - is your /etc/fstab sane?
Please e-mail a copy of /var/log/mindi.log to the mailing list.
See http://www.mondorescue.org for more information.
WE CANNOT HELP unless you enclose that file.

	/media/data/swapfile.10G swap            swap              10239                
/usr/sbin/mindi: line 1409: /tmp/mindi.JsMcvZSLL0/mountlist.txt: No such file or directory
cat: /tmp/mindi.JsMcvZSLL0/mountlist.txt: No such file or directory
grep: /tmp/mindi.JsMcvZSLL0/mountlist.txt: No such file or directory
gawk: cmd. line:1: fatal: cannot open file `/tmp/mindi.JsMcvZSLL0/mountlist.txt' for reading (No such file or directory)
grep: /tmp/mindi.JsMcvZSLL0/mountlist.txt: No such file or directory
FATAL ERROR. Cannot copy mountlist.txt from /tmp/mindi.JsMcvZSLL0 to data disk
Please e-mail a copy of /var/log/mindi.log to the mailing list.
See http://www.mondorescue.org for more information.
WE CANNOT HELP unless you enclose that file.

lee@lee-H67N:~$ sudo swapon -s
Filename				Type		Size	Used	Priority
/media/data/swapfile.10G                file		10485756	12	-1
lee@lee-H67N:~$ 

Change History (4)

comment:1 by Bruno Cornec, 12 years ago

Status: newassigned

Should be fixed in rev [2947]. If you want to test it with native packages, please provide me with your distribution (Ubuntu I think) version and architecture (x86_64 I think).

comment:2 by Bruno Cornec, 12 years ago

Please test with the ftp://ftp.mondorescue.org/test/ubuntu packages.

comment:3 by Bruno Cornec, 12 years ago

Resolution: fixed
Status: assignedclosed

This is now part of 3.0.1 and should be fixed. Please reopen if not the case.

comment:4 by Bruno Cornec, 12 years ago

Milestone: 3.0.23.0.1
Note: See TracTickets for help on using tickets.