mogadm can not delete device?
Jared Klett
jared at blip.tv
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:
http://lists.danga.com/pipermail/mogilefs/2006-August/000450.html
it was very enlightening... for me at least.
cheers,
- Jared
-----Original Message-----
From: mogilefs-bounces at lists.danga.com
[mailto:mogilefs-bounces at lists.danga.com] On Behalf Of feihu
Sent: Tuesday, March 20, 2007 6:13 AM
To: mogilefs at lists.danga.com
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
host.
mogadm device list List all devices,
for each host.
mogadm device mark <hostname> <devid> <status> Mark a device as
{alive,dead,down,readonly}
--
feihu <feihu.list at gmail.com>
More information about the mogilefs
mailing list