mogadm can not delete device?

Jared Klett jared at
Tue Mar 20 14:05:36 UTC 2007

hi feihu,

	that's correct. once a device is added, it shouldn't ever be
deleted - only marked dead, which is the closest approximation.

	you should follow the advice given by Mark in this post:

	it was very enlightening... for me at least.


- Jared

-----Original Message-----
From: mogilefs-bounces at
[mailto:mogilefs-bounces at] On Behalf Of feihu
Sent: Tuesday, March 20, 2007 6:13 AM
To: mogilefs at
Subject: mogadm can not delete device?

root at xxx:~# mogadm device list
host214 [1]: alive
                   used(G) free(G) total(G)
  dev1: alive      5.826   66.137  71.963 

host222 [2]: down
                   used(G) free(G) total(G)
  dev2: down       0.000   0.000   0.000  
  dev8: down       0.000   0.000   0.000  

root at xxx:~# mogadm device delete host222 2 Help for 'device' command:
 (enter any command prefix, leaving off options, for further help)

  mogadm device add <hostname> <devid> [opts]        Add a device to a
  mogadm device list                                 List all devices,
for each host.
  mogadm device mark <hostname> <devid> <status>     Mark a device as

feihu <feihu.list at>

More information about the mogilefs mailing list