Modify

Ticket #3535 (closed defect: worksforme)

Opened 18 months ago

Last modified 18 months ago

After installing new disk: file system not found: /dev/sdb1 at /usr/share/perl5/EBox/Report/DiskUsage.pm

Reported by: indra6oc@… Owned by: jamor@…
Milestone: 2.2.X Component: base
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

Installed new extra hard drive, partitioned, formatted, mounted with quotas, checked and turned on quotas. And get this when I want to look up disk usage on the zentyal web interface.

Error

File system not found: /dev/sdb1

Trace

File system not found: /dev/sdb1 at /usr/share/perl5/EBox/Report/DiskUsage.pm line 257
	EBox::Report::DiskUsage::usage('fileSystem', '/dev/sda1') called at /usr/share/perl5/EBox/Report/DiskUsage.pm line 72
	EBox::Report::DiskUsage::chart('/dev/sda1') called at /usr/share/perl5/EBox/CGI/Report/DiskUsage.pm line 51
	EBox::CGI::Report::DiskUsage::_process('EBox::CGI::Report::DiskUsage=HASH(0x240e7450)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::Report::DiskUsage=HASH(0x240e7450)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'Report/DiskUsage', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x240e7e20)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x240ea200)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x240ea200)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x240e7e20)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (113.8 KB) - added by anonymous 18 months ago.
zentyal.log
software.log Download (129.2 KB) - added by anonymous 18 months ago.
software.log

Change History

Changed 18 months ago by anonymous

zentyal.log

Changed 18 months ago by anonymous

software.log

comment:1 Changed 18 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to worksforme
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to After installing new disk: ile system not found: /dev/sdb1 at /usr/share/perl5/EBox/Report/DiskUsage.pm

Hello Indra6oc,

I think the problem is that you haven't yet updated /etc/fstab . Please, update it and try again.

comment:2 Changed 18 months ago by jamor@…

  • Summary changed from After installing new disk: ile system not found: /dev/sdb1 at /usr/share/perl5/EBox/Report/DiskUsage.pm to After installing new disk: file system not found: /dev/sdb1 at /usr/share/perl5/EBox/Report/DiskUsage.pm

comment:3 Changed 18 months ago by indra6oc@…

  • Status changed from closed to reopened
  • Resolution worksforme deleted

fstab is updated to the reflect new configuration as was before, tried with and without quota and acl :

ipharus@Satnam:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda1 during installation UUID=068b75ab-ef40-4acd-81e2-bd18a0cf93b7 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda7 during installation UUID=988a281e-a1fe-46cf-9556-71aed672ba6e /home ext4 defaults,usrquota,grpquota,acl 0 2 # /media/data was on /dev/sdb1 during installation UUID=123d0db4-bdd6-42b9-8c3e-3c0d3c0436e7 /media/data ext4 defaults 0 2 # swap was on /dev/sda6 during installation UUID=d6b5375d-f0c7-4a1a-bbd5-c33b451a2e3c none swap sw 0 0

comment:4 Changed 18 months ago by jamor@…

  • Owner changed from jacalvo@… to jamor@…
  • Status changed from reopened to new

Hello again,

the output of the cat command was a bit mangled. Could you attach to this ticket the file and also /etc/mtab?.

comment:5 Changed 18 months ago by jamor@…

Hello Indra,

to solve this I need to peruse the contents of the /etc/mtab file.

There is also ta _small_ possibility that was a cache problem and restarting apache with '/etc/init.d/zentyal apache restart' and relaod the page makes the problem away.

comment:6 Changed 18 months ago by jamor@…

In fact I believed that this was caused by the fact that you have /etc/fstab with UUIDs and mtab does not use them but I have a system with UUIDs in fstab and it is working fine.

comment:7 Changed 18 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to worksforme

Sorry, but I need to see the mtab file to diagnose this.

If you can attach it or provide other information, please reopen the issue.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.